$_SESSION[];
Posted: Fri Jul 26, 2002 9:10 am
I'm having problems with sessions.
I have a tutorial that advises me to use session_register() at the top of my page,to declare a session variable. but the variable is not held.
I have globals off in php.ini and have been advised to try $_SESSION['var'] still no persistant variable.
I use win and have set php.ini sesion.save to c:\windows\temp as instructed.
Has anyone got a simple example of setting and using a session variable so I can check that it's my setup and not my syntax?
Or any advice/help would be great
Thanks
Gav
I have a tutorial that advises me to use session_register() at the top of my page,to declare a session variable. but the variable is not held.
I have globals off in php.ini and have been advised to try $_SESSION['var'] still no persistant variable.
I use win and have set php.ini sesion.save to c:\windows\temp as instructed.
Has anyone got a simple example of setting and using a session variable so I can check that it's my setup and not my syntax?
Or any advice/help would be great
Thanks
Gav