RE: PHPSESSID how to append and access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 May 2006 12:12, Girish Agarwal wrote:

> Hi All,
>          I am using header("Location:
> http://dv-medical/phpscripts/test.php";) function to hop from
> one Page to
> Another in My Web Application
>         My Problem is I have been unable to get the exact
> syntax to append
> the Session ID to the URL specified in the header so that it
> is available

  header("Location: http://dv-medical/phpscripts/test.php?".SID)

That's what the SID constant is for.  You can even use it with impunity when cookies are in use, since it is set to the empty string in that case.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: m.ford@xxxxxxxxxxxxxx
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux