Meaningless Drivel is fun!*
The moose likes PHP and the fly likes session variable problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "session variable problem" Watch "session variable problem" New topic
Author

session variable problem

muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
This code does not display a simple.php page if correct account were entered. i think there is a session login problem






ibrahim yener
Ranch Hand

Joined: Jul 22, 2013
Posts: 134

There is no session problem. Simply you are not assigning value to Session variables.

Look at your code



should be


WinSystems my Google play account.
Ping Kong
shivdhwaj pandey
Ranch Hand

Joined: Nov 12, 2011
Posts: 67

You are creating session but not assigning the value to session variable that`s the problem.
And place exit; just after the header();


with regards,
Shivdhway Pandey
Anindya Roy
Ranch Hand

Joined: May 11, 2014
Posts: 76
mysql_* functions have been deprecated instead please use mysqli_* or PDO

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session variable problem