Re: [PHP] header() and passing sessions

2009-04-15 Thread Adam Williams
abdulazeez alugo wrote: Hi, Well I'ld say the reason is quite obvious. You have simply not set $_session["username"] . I'ld have done something like: -- option.php -- header('Location: http://intra.mdah.state.ms.us/helpdesk/viewpending.php?PHPSESSID='.SID); //

RE: [PHP] header() and passing sessions

2009-04-15 Thread abdulazeez alugo
> Date: Wed, 15 Apr 2009 11:09:19 -0500 > From: awill...@mdah.state.ms.us > To: php-general@lists.php.net > Subject: [PHP] header() and passing sessions > > I need some help passing a session variable with a header() function. > According to www.php.net/header, the

[PHP] header() and passing sessions

2009-04-15 Thread Adam Williams
I need some help passing a session variable with a header() function. According to www.php.net/header, the documentation states: *Note*: Session ID is not passed with Location header even if session.use_trans_sid is enabled. It must by passed manually using *SID* constant. so, I'm trying