What is the difference between SID & PHPSESSID. Which do u use to tie up Session id to URI & how? Thanks Sbs
PHPSESSID is the name of the sessionID variable.
SID automates the printing of the session ID, including the name of the variable
print SID;
You could also use
print "PHPSESSID=".session_id();