| 
 Posted by no on 06/18/05 15:06 
On Fri, 17 Jun 2005 04:22:36 -0700, "flintridgeparkenfarker 
vonkerschnauzerheiden" <no@spam.com> wrote: 
>What happens when I run this example is (I modified it a little for 
>monitoring): 
>  The SID is available to print on page1.php and the session vars are 
>loaded. 
>  After clicking the link to page2.php, the page opens with empty session 
>vars. 
 
Are you using session_start() at the top of all pages that need access 
to the $_SESSION[] vars? As a general rule you should start every page 
on a session-based site with session_start(). 
 
Cheers 
Chris R.
 
  
Navigation:
[Reply to this message] 
 |