Re: [PHP] Sessions + Variables + includes

2001-07-19 Thread ReDucTor
Username : Password : Profile Moo - Original Message - From: dosenbrei <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 10:01 PM Subject: [PHP] Sessions + Variables + includes > > > Hi > > Sorry for

Re: [PHP] Sessions + Variables + includes

2001-07-19 Thread Slavomir Slizik
On the title page: session_register("loggedin"); then: session_start(); on every page better to test session availability on every page: if (!session_is_registered("loggedin")) { // redirect user to title page where the session is registered } But your method of handling sessions

[PHP] Sessions + Variables + includes

2001-07-19 Thread dosenbrei
Hi Sorry for my bad english ;-) I'm writing an application using php and sessions. In the first include file i'm writing something like this session_start(); session_register(loggedin); The i have another include file with the functions. When i'm submitting the username and passwort to the f