Re: PHPSESSID how to append and access

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

 



On 5/25/06, Girish Agarwal <gagarwal@xxxxxxxxxxxxx> 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


you could do this:
header("Location: http://dv-medical/phpscripts/test.php?sid=".session_id())


       If I am not mistaken then with the header function the Session ID is
not automatically appended eventhough enable_trans_sid is set to true.If I
am wrong then please guide me as to how I can access the session id.
        My php.ini file has session.name has PHPSESSID.

Thanks,
Girish

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




--
GMail Rocks!!!

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

  Powered by Linux