Session ID (SID)

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
php-forum Super User
php-forum Super User
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India

Mon Apr 07, 2003 5:35 am

AS in ASP, we have SESSION.SessionID

In PHP, how do you pass it through url

eg can you give ?log=<?php echo(SID) ?>


New php-forum User
New php-forum User
Posts: 40
Joined: Fri Aug 09, 2002 11:53 am
Location: Rochester, NY

Tue Apr 08, 2003 5:01 am

You can do either session_id(); or $PHPSESSID, which is the most used. Do something like this: ... $PHPSESSID, and it may look something lik: ... 704583a093

Hope this helps!
Thanks for your help!

Post Reply