Posted by Schmalz on 03/25/07 07:34
Hi All (again),
I have a problem with using the $_SESSIONS variables.
I have register_globals turned off in php.ini (default) but I have been lead
to believe that I should still be able to use the session variables. My
php_info() page says that session functionality is enabled.
This does not appear to be the case. My session variables never seem to
carry across from one page to the next. I have used them previously in
other projects and they worked perfectly.
I am aware that the good folk at php have cracked down on global variables
for security reasons and I was using php 4.4.5 when I first encountered the
problem. I have sicne updated to 4.4.6 with the same problem.
Is there any advice as to how to get the damn things to work?
I have been forced to use cookies for user authentication which I don't
really want to do and also I have a lot of other parts of my scripts that
could benefit from using session variables.
Thanks again in advance.
Schmalz.
Navigation:
[Reply to this message]
|