session problem
- From: scout3014@xxxxxxxxx
- Date: Thu, 26 Jul 2007 01:35:53 -0700
Hi
I am currently doing a php logging in function with user level
(meaning which user shld go to which page). Currently i am at a loss
of creating session parameters. The following code is used to
determine which user is logging in:
$level = $row['userlevel'];
switch ($level){
case 1:
//redirect to employee page to apply leave
include("employee.php");
break;
case 2:
//redirect to employer showing all his employees applying
leave
include("employer.php");
break;
on e same file i have started my session with the intention of
creating some session attributes.
however when i try to do that i get tis message:
Fatal error: Call to undefined function start() in C\......login.php
on line 9
Line 9 is session.start();
Anyone can help me with this issue. Thanks alot
.
- Follow-Ups:
- Re: session problem
- From: Captain Paralytic
- Re: session problem
- Prev by Date: Re: Framework, which one?
- Next by Date: Re: session problem
- Previous by thread: Re: Session problem
- Next by thread: Re: session problem
- Index(es):
Relevant Pages
|