File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 182

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

Look at your code



should be


My Google play account
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