You are here: sessions problems « PHP SQL « IT news, forums, messages
sessions problems

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация