[PHP] session questions

2005-03-23 Thread gwang5
Hi, I am new to session of php. I need pass the form content from the the first page all the way down to the last page to process it. I used to use $_POST['sth'] to pass the data, but it is very painful since there are several pages between the first and last page. I am using $_SESSION['sth'] now.

RE: [PHP] Session questions

2001-07-15 Thread VFSA-eRentals
] Session questions Hi all, This might be a dumb question but can anybody tell me why on earth this doesn't work ? session_start() $logged_in = session_is_registered("auth"); if($logged_in != true) { if(!(pam_auth($usernamelogi

[PHP] Session questions

2001-07-15 Thread Jason Rennie
Hi all, This might be a dumb question but can anybody tell me why on earth this doesn't work ? session_start() $logged_in = session_is_registered("auth"); if($logged_in != true) { if(!(pam_auth($usernamelogin,$pass,&$error))) { // send an error if it doens't log

[PHP] Session questions

2001-07-15 Thread Jason Rennie
Hi all, This might be a dumb question but can anybody tell me why on earth this doesn't work ? session_start() $logged_in = session_is_registered("auth"); if($logged_in != true) { if(!(pam_auth($usernamelogin,$pass,&$error))) { // send an error if it doens't log

Re: [PHP] Session Questions...

2001-02-15 Thread Martin A. Marques
El Jue 15 Feb 2001 12:32, escribiste: > I was reading through the documentation on sessions at > http://www.php.net/manual/en/html/ref.session.html > > I have a few questions.. > > 1) How do I explicitly close a session, so that any subsequent attempts to > use pages would require a new session st

[PHP] Session Questions...

2001-02-15 Thread John Vanderbeck
I was reading through the documentation on sessions at http://www.php.net/manual/en/html/ref.session.html I have a few questions.. 1) How do I explicitly close a session, so that any subsequent attempts to use pages would require a new session started? Will session_destroy() do this? 2) I don't