You are here: Re: Session Life « PHP Language « IT news, forums, messages
Re: Session Life

Posted by Rik on 02/03/07 16:47

sid <sidwelle@alexian.net> wrote:

> On Feb 2, 9:58 am, Michael Fesser <neti...@gmx.de> wrote:
>> .oO(sid)
>>
>> >I know PHP has a session_destroy command, can't you use this to kill
>> >the session when the users browse away from your site ?
>>
>> No. You don't know if and when users leave your site.
>>
>> Micha
>
> Could you do something with the window_OnClose event, you could
> forward them to a close.php page that destroys the session and then
> opens the page they intended ? Kind of the way the porno or add pages
> do it, but not as malicious.

And just for that reason often blocked by browsers, so it might close some
sessions, certainly not all.
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация