Re: session-problem
| From: | Curt Zirzow | Date: | Mon, 01 Sep 2003 22:53:24 +0000 |
| Subject: | Re: session-problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161397@lists.php.net to get a copy of this message | ||
* Thus wrote Juerg Zgraggen (j.a.z@bluewin.ch):
> now my problem: i wrote in my navigation-frame this code:
> <?php
> if( !isset($_SESSION['testint'] ) )
> {
> $_SESSION['testint'] = 1;
> }
> $_SESSION['testint']++;
> print_r($_SESSION);
> ?>
>
> after the print_r() i can see my 'testint'-session-variable on the
> navigation-site. however on the other frame-site. i do NOT see this
> 'testint'-session-variable when i reload it. and when i reload the
> navigation-frame the variable does appear but does NOT increase. isset()
> always return false!!! when i take a look at the session-file on my
> Computer, i do NOT find the variable 'testint'...
session_start() has been called right?
Curt
--
"I used to think I was indecisive, but now I'm not so sure."