Reply to Re: General sessions question

Your name:

Reply:


Posted by tomb on 07/11/07 21:56

Sjoerd wrote:
> tomb wrote:
>> What happens to the $_SESSION values? Mine go away.
>
> Did you call session_start() before doing anything with $_SESSION? On
> both the login page and the next page?
Yes, absolutely. It's in the include file, so it's called immediately
after the database stuff and the session_set_save_handler function
call. The $sessid variable is getting a value after session_start(),
it's just the $_SESSION object that ends up with nothing in it. I
thought this was supposed to maintain the values for this user until the
session expires?

Tom

[Back to original 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

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