Re: Session Problem

From: Date: Tue, 06 Jan 2004 17:33:41 +0000
Subject: Re: Session Problem
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22501@lists.php.net to get a copy of this message
I thinks its a problem of configuration. Perhaps there is the configuration variable session.use_cookies set to true. Then the closing of the browser does not cause the session to be destroyed. greetings Robert "Meteorlet" <meteorlet@sjtu.edu.cn> schrieb im Newsbeitrag news:20040106142520.906FB101D7D6@sjtu.edu.cn... > > Hi,everyone! > I got a problem about SESSION.When we use Seesion to store information, > we hope that the session will be destroied after you close browser IE automatically. > but sometimes it's not truth.In local test,everything is alright,but I uploaded > them into my ISP's host,the session wouldn't be destroied at once.who encounter > this problem? I found that the PHP configuration of my computer and remote host is > the same. the option session.cookie_lifetime always equal to 0. > how to make the session timeout immedially after closing IE? > > for example, > <input type="text" name="password" value="<? echo $_SESSION['password'];?>"> > after closing IE,open IE again. > I will get <input type "text" name="password" value=""> > in local test. > but in my remote host I will always get since I first logined: > <input type "text" name="password" value="*********"> > > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Meteorlet > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡meteorlet@sjtu.edu.cn > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-01-06 >

« previous php.windows (#22501) next »