session problem with php5.. urgent help needed please

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
devo19
Forum Newbie
Posts: 2
Joined: Fri Nov 05, 2010 3:51 am

session problem with php5.. urgent help needed please

Post by devo19 »

i'm converting a php4 application to php5.
i copied all the files to the server with php5 and added the required session_start() line at the start of all the files that deals with session variables.
when i am at the login form, i display the $_SESSION and it displays at the bottom of the form, but when i click the login button, (login.php i display the $_SESSION) and it displays a blank array.
i`m attaching my index file which draws the login form and the login.php file and also the php.ini session settings.
i have been struggling with this and any help and suggestion is welcomed.
thanks
loginfiles.rar
(10.5 KiB) Downloaded 14 times
devo19
Forum Newbie
Posts: 2
Joined: Fri Nov 05, 2010 3:51 am

Re: session problem with php5.. urgent help needed please

Post by devo19 »

can anyone help with this?? anything at all?? please.

cheers
-dev
xtiano77
Forum Commoner
Posts: 72
Joined: Tue Sep 22, 2009 10:53 am
Location: Texas

Re: session problem with php5.. urgent help needed please

Post by xtiano77 »

I would like to take a shot at it but I think it would be better if you would post the code you are having problems with so we can have a better idea of what the problem is.
Post Reply