Re: [PHP] SESSIONS SESSIONS SESSIONS

2004-03-12 Thread Jason Davidson

http://ca.php.net/manual/en/function.session-start.php



=?iso-8859-1?Q?Alberto_Garc=EDa_G=F3mez?= [EMAIL PROTECTED]
wrote:
 
 Friends:
 
 I need a good example to create a session and navigate an entire site with this
 sessions. Also I need that sessions handle a three variables.
 __
 Atte.
 Alberto García Gómez
 Administrador Nodo Atenas
 http://www.mtz.sld.cu/
 Tel: 53-45-282212
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sessions, sessions, sessions...

2001-10-02 Thread Papp Gyozo

session_register() registers the _global_ variable named by it with the
current session.
So if these globals are not set, you 're out of luck, I think.

- Original Message -
From: Bradley Goldsmith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 3:13 AM
Subject: [PHP] Sessions, sessions, sessions...


 Hi,

 I am using php4 (great) under win32 apache (not so great) ...

 I am trying to regsiter two session variables. When the page is
 first displayed, the variables are registered thus:

 session_register(Sheet);
 $HTTP_SESSION_VARS[Sheet]=serialize($Sheet);

 //store time offset session
 session_register(offset);
 $HTTP_SESSION_VARS[offset]=$offset;

 I had some checking code in there before and the registers returned
 true.

 The problem is that on the first time around the variables do not
 seem to register. However, if the page loads and then I do a refresh by
 clicking on the toolbar - it all seems to work ok.

 Any ideas on how I can get the vars to stick first time around?

 Cheers,
 Brad



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]