> -----Original Message-----
> From: Jennifer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 2:51 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] session_register()
> 
> Do you need to register a variable with the session before you
> assign it a value? 

Not in my experience.
 
> session_register should return true if the variable was
> successfully registered?

It returns "1".

> The variable name and it's value should be written to the file
> with the same name as session_id()?

Yes, here's a sample from a session file: superUser|s:3:"Yes";
Here's a sample session filename: sess_01bc2e24aa5291300887948f0af74899

Kirk 

-- 
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]

Reply via email to