Posted by meltedown on 08/06/05 06:00
Ken Robinson wrote:
> meltedown wrote:
>
>><?
>>session_start();
>>print_r($_SESSION);
>>?>
>>How come when I put this code on one page it says:
>>Array ( [userid] => 24 [loginid] => 1 )
>>
>>but if I put it on another page it simply says:
>>Array ( )
>>
>>What is going on ? I thought the session variables were suppost to be
>>available to any page
>
>
> How are you invoking the scripts? Sessions are on a per domain basis
> and also per browser type and window.
>
> We need more details.
>
> Ken
>
I had one page open in one firefox tab and the other open in another
tab. Everything else was the same. Right now, I can't seem to get it to
happen again. Both tabs are accessing the variables.
Navigation:
[Reply to this message]
|