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" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
>
> 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
> [EMAIL PROTECTED]
>           2004-01-06
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to