
May 18th, 2000, 03:14 AM
|
|
Junior Member
|
|
Join Date: May 2000
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
To check if it exists, I do
$id = session_id();
if ($id == '') {... no session ...}
If the $id is empty, then there is no session.
But the problem is when I use the "session_id()" function from a different page than the page that contains the "session_start()" function, the returned $id is always empty.
Do have I to pass the SID in the url or something? Is there a setup file that I should update?
|