My web application sets session every time a user logs in.
I checked that sessions are properly set in http://mydomain.com/sessionfolder directory.
But I can’t get those session values.
For example, in ‘member_check.php’ in root directory (‘/’),
echo "Your name is = ".$_SESSION['membername'];
I get ‘Your name is (blank)’
Thanks.
Have you tried setting the session savepath manualy? When I am using the servers supllied by my school I always have to set it by my self, because of some setting on the servers.
The following line should be included BEFORE the
session_start();session_save_path('your_path_here');Don´t forget to create the folder and set the folder permissions to read and writeable for everyone..