Re: sessions failing to persist

From: Date: Mon, 03 May 2004 05:23:18 +0000
Subject: Re: sessions failing to persist
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-185166@lists.php.net to get a copy of this message
* Thus wrote Michael R. Wayne (phpuser@wayne47.com): > > I suspect I'm missing something obvious, any pointers? > > /\/\ \/\/ > > <? > if (!session_is_registered("stage")) { > $_SESSION["stage"] = 0; > $_POST['field'] = ""; > session_register("stage"); > } <manual> Caution If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(), session_is_registered(), and session_unregister(). </manual> Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#185166) next »