Re: [PHP-DB] Problem Using Sessions. .. .

2005-05-05 Thread Patel, Aman
Shawn Singh wrote: that was very helpful...Thank you. One question I have is that I want to ensure that my admin page cannot get accessed unless a variable that was registered upon a successful login has been passed into the session...what can I do to ensure this? There are several ways to do this

Re: [PHP-DB] Problem Using Sessions. .

2005-05-04 Thread Shawn Singh
that was very helpful...Thank you. One question I have is that I want to ensure that my admin page cannot get accessed unless a variable that was registered upon a successful login has been passed into the session...what can I do to ensure this? Thank you, Shawn On 5/4/05, Patel, Aman <[EMAIL P

RE: [PHP-DB] Problem Using Sessions

2005-05-04 Thread Miguel Guirao
Why dont'n you use soma classes from www.phpclasses.com about User Management!! There are great classes in this site!! -Original Message- From: Shawn Singh [mailto:[EMAIL PROTECTED] Sent: MiƩrcoles, 04 de Mayo de 2005 03:14 p.m. To: php-db@lists.php.net Subject: [PHP-DB] Problem Using Sess

Re: [PHP-DB] Problem Using Sessions

2005-05-04 Thread Mignon Hunter
The browser has already sent headers on line 13 of your code- line 25 must be the session_start - it has to come first and be at the very top of your code >>> Shawn Singh <[EMAIL PROTECTED]> 05/04/05 03:13PM >>> Hey All, I'm fairly new to PHP Programming. I have compiled and installed postgres v

Re: [PHP-DB] Problem Using Sessions. .

2005-05-04 Thread Patel, Aman
From the PHP help page on "session_register()" "If your script uses session_register(), it will not work in environments where the PHP directive register_globals is disabled." I'm assuming since you compiled and installed PHP 5.0.4 that your "register_globals" is disabled. I wouldn't recommend e