Session ID (SID)

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

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

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) ?>

Help

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

Tue Apr 08, 2003 5:01 am

You can do either session_id(); or $PHPSESSID, which is the most used. Do something like this:

http://www.somepage.com/somepage.php?PH ... $PHPSESSID, and it may look something lik:

http://www.somepage.com/somepage.php?PH ... 704583a093

Hope this helps!
Thanks for your help!

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests