Re: Sessions

From: Date: Mon, 30 Dec 2002 09:48:10 +0000
Subject: Re: Sessions
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-17586@lists.php.net to get a copy of this message
what on earth are u tryin to do ???? startin the session and checkin it in the same file ????? :S what ???? toby --- ûÅÓÔÁËÏ× îÉËÏÌÁÊ <advnik@mail.ru> wrote: > OS: WinXP Pro SP1. > Apache 2. > php 4.3 isap > > index.php > > <?php > session_start(); > session_register("sa"); > echo $sa."<br>"; > $sa=1; > echo $sa."<br>"; > echo session_id()."<br>"; > echo session_name()."<br>"; > echo session_module_name()."<br>"; > echo session_is_registered("sa")."<br>"; > echo session_save_path()."<br>"; > ?> > <a > href="http://localhost/index2.php">increment</a> > > get > > 1 > 728be1c2b387346bf08ec42680571589 > PHPSESSID > files > 1 > C:\Program Files\php-4.3.0-Win32\sessiondata > increment > > sess_728be1c2b387346bf08ec42680571589 is "sa|i:1;". > > index2.php > <?php > session_start(); > session_register("sa"); > > echo $sa."?<br>"; > $sa+=2; > echo $sa."<br>"; > echo session_id()."<br>"; > echo session_name()."<br>"; > echo session_module_name()."<br>"; > echo session_is_registered("sa")."<br>"; > echo session_save_path()."<br>"; > ?> > <a > href="http://localhost/index2.php">increment</a> > > get > ? > 2 > 728be1c2b387346bf08ec42680571589 > PHPSESSID > files > 1 > C:\Program Files\php-4.3.0-Win32\sessiondata > increment > > sess_728be1c2b387346bf08ec42680571589 is "sa|i:1;". > > sessiondata access is full. > > Why? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com

« previous php.windows (#17586) next »