Re: PHPSESSID how to append and access
| From: | J R | Date: | Thu, 25 May 2006 11:48:03 +0000 |
| Subject: | Re: PHPSESSID how to append and access | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41938@lists.php.net to get a copy of this message | ||
On 5/25/06, Girish Agarwal <gagarwal@bellsouth.net> wrote:
Hi All,you could do this: header("Location: http://dv-medical/phpscripts/test.php?sid=".session_id())I am using header("Location:http://dv-medical/phpscripts/test.php") function to hop from one Page to Another in My Web ApplicationMy Problem is I have been unable to get the exact syntax to appendthe Session ID to the URL specified in the header so that it is available
If I am not mistaken then with the header function the Session ID isnot 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!!!