Re: session problem?
| From: | Mauricio Sthandier | Date: | Tue, 09 Apr 2002 20:24:59 +0000 |
| Subject: | Re: session problem? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92293@lists.php.net to get a copy of this message | ||
I have the same problem... I thought it was for a different reason... If you
got a solution please email me !!!
"Bob" <lly200146@sohu.com> escribió en el mensaje
news:q6fj9ukcll95mm0896nr1ma5rm9sbb9ct8@4ax.com...
> 1.php? 2.php
> session_start(); session_start();
> .......... ..........
> $_SESSION['a'] =$a; echo $_SESSION['a'];
> $_SESSION['b'] =$b; echo $_SESSION['b'];
> header("location: 2.php");
>
> there is an warning: undefined index a ,b.........
>
>
> after change
>
> 1.php 2.php
> session_start(); session_start();
> .......... ..........
> $_SESSION['a'] =$a; echo $_SESSION['a'];
> $_SESSION['b'] =$b; echo $_SESSION['b'];
> <a href='2.php' >go on </a>
>
> it works well?
> why?
>
>
> thanks!