[thelist] url specific session problem

elin tjerngren. artopod elin at artopod.se
Wed Sep 17 10:09:38 CDT 2003


Hi list!

I have a weird PHP session problem.
The links look something like this:

index.php?page=intrview/archive.php

(I can even see the &PHPSESSID=... in some browsers).

And they all work except the ones like this:

index.php?page=intrview/2003/September11_21_15_13.html

(no PHPSESSID) When i get to that page - I lose the session.  

Since I use index.php as root page for all pages all the session handling 
is there, in the beginning of index.php:

	$timelimit = 60*60*24; 
 	ini_set("session.gc_maxlifetime", $timelimit); 
	session_start(); 

...login functions, html and include($page) ...

Does anyone have a clue? 

/Elin, http://artopod.com





More information about the thelist mailing list