wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 126

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: 63

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: 69
mysql_* functions have been deprecated instead please use mysqli_* or PDO

Thanks


http://www.webtuts.in
 
Consider Paul's rocket mass heater.
 
subject: session variable problem
 
Similar Threads
difficulty in login in one attempt
php database addition problem
undefined variable
i need help on loggin account limit
Java Applet Logon Post to PHP