RE: [PHP-DB] session confusion| can anyone help?

2005-08-26 Thread Bastien Koert
try defining the values as empty strings first... bastien From: "bo" <[EMAIL PROTECTED]> Reply-To: "bo" <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] session confusion| can anyone help? Date: Fri, 26 Aug 2005 11:42:18 +0800 here is the code for accesscontrol.php which contr

Re: [PHP-DB] session confusion| can anyone help?

2005-08-25 Thread RaJeSh VeNkAtA
session_start() should be given at the starting of the file before others u can include anthing after the session_satrt() functon only On Fri, 26 Aug 2005, bo wrote: here is the code for accesscontrol.php which control the access to protected page, the server gives an error as of Notice: Unde

Re: [PHP-DB] Session confusion :-(

2002-02-18 Thread Yasuo Ohgaki
Read current manual page. If you still have problem, let me know what's the problem. http://www.php.net/manual/en/ref.session.php -- Yasuo Ohgaki -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Session confusion :-(

2002-02-18 Thread Adam Royle
I presume that the session is not updating because PHP does not automatically overwrite session variables. You should use something like this: $category = $HTTP_GET_VARS["category"]; session_register("category"); Session register can be called more than once, and has no effect on current sess

RE: [PHP-DB] Session confusion :-(

2002-02-17 Thread Beau Lebens
are you always "refreshing" the session on each page dave? i am pretty sure you need to call session_start() on every page that you will be accessing the session-based variables. HTH beau // -Original Message- // From: Dave Carrera [mailto:[EMAIL PROTECTED]] // Sent: Saturday, 16 Febru