[PHP-DB] Re: Session confusion

2004-10-06 Thread Aaron Todd
Stuart,

I am fairly new to PHP, but it is my understanding that you have to run the 
session_start() command on every page that you want to be part of the 
session and to access the session variables.

Here is a link of a tutorial about using sessions: 
http://www.phpfreaks.com/tutorials/41/3.php  Look for the word MUST in red 
and read that paragraph.  It should tell you what you need to know.

Hope that helps,

Aaron


Stuart Felenstein [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Back to my multi page form again ;)

 I am going to try it with Session variables .
 So, one thing is confusing me.

 The page requires the user to be logged in and is
 being tracked via authentication.
 Do I still need to do a session_start();, at the
 beginning of the form process ?

 Stuart 

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



Re: [PHP-DB] Re: Session confusion

2004-10-06 Thread Stuart Felenstein
Okay, I will read the tutorial.  I also want to
clarify a bit more.  I guess it's my intention to not
have the form session relying on the auth session,
since I want to expire the form session , either at
the end of the transaction or if user cancel out on
the form.  So either the cookie or session dies at
that point.
Whichever one they are using.


Stuart
--- Aaron Todd [EMAIL PROTECTED] wrote:

 Stuart,
 
 I am fairly new to PHP, but it is my understanding
 that you have to run the 
 session_start() command on every page that you want
 to be part of the 
 session and to access the session variables.
 
 Here is a link of a tutorial about using sessions: 
 http://www.phpfreaks.com/tutorials/41/3.php  Look
 for the word MUST in red 
 and read that paragraph.  It should tell you what
 you need to know.
 
 Hope that helps,
 
 Aaron
 
 
 Stuart Felenstein [EMAIL PROTECTED] wrote in
 message 

news:[EMAIL PROTECTED]
  Back to my multi page form again ;)
 
  I am going to try it with Session variables .
  So, one thing is confusing me.
 
  The page requires the user to be logged in and is
  being tracked via authentication.
  Do I still need to do a session_start();, at the
  beginning of the form process ?
 
  Stuart 
 
 -- 
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

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