[PHP] Re: Newbie on Sessions/Pages Management

2002-02-23 Thread Michael Kimsal

Alexander P. Javier wrote:
 I'm very new to PHP, as a matter of fact, I never had any experience anything about 
web-enabled applications development. I've been more into local Visual Basic and MS 
SQL Serve devt.  If there's any kind soul out there, please HLP
 
 The question is: why do the values of my session variables disappear when i traverse 
through different php scripts? duhh  =(
 


Do you have cookies enabled?  By default the session variables rely on 
PHP sending a session cookie.  If your browser doesn't accept them, 
you'll end up with 'new' sessions on every page.


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




Re: [PHP] Re: Newbie on Sessions/Pages Management

2002-02-23 Thread Edward van Bilderbeek - Bean IT

every script you use the variable should contain a session_start()
statement...

- Original Message -
From: Michael Kimsal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 23, 2002 5:26 PM
Subject: [PHP] Re: Newbie on Sessions/Pages Management


 Alexander P. Javier wrote:
  I'm very new to PHP, as a matter of fact, I never had any experience
anything about web-enabled applications development. I've been more into
local Visual Basic and MS SQL Serve devt.  If there's any kind soul out
there, please HLP
 
  The question is: why do the values of my session variables disappear
when i traverse through different php scripts? duhh  =(
 


 Do you have cookies enabled?  By default the session variables rely on
 PHP sending a session cookie.  If your browser doesn't accept them,
 you'll end up with 'new' sessions on every page.


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




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