When you close the browser, the sessions go away. The exception is the new feature of browsers to have tabbed windows. If you close only the tab, the other tabs have the same session ID. -D. Israel dan@xxxxxxxx http://www.customcodebydan.com AIM: JudoDanIzz A BANDAID!? Damn it Jim,I'm a doctor,not a-oh, never mind > -----Original Message----- > From: SaEeDoS [mailto:saeedos@xxxxxxxxx] > Sent: Saturday, January 05, 2008 12:01 AM > To: php-objects@xxxxxxxxxxxxxxx > Subject: question about sessions > > Hi all and Happy new Year . i hope in this new year all your's dreams > and hopes are come true :-) > > I'd like to be able to destroy the session when a user closes the > browser window. I have a link to "log out" which works great. If a > user clicks on it, no problem. BUT if they close the window without > clicking on the link, then the session stay with the login info for > some time. > > Thanks > > > > Are you looking for a PHP job? Join the PHP Professionals directory > Now! > http://www.phpclasses.org/professionals/ > Yahoo! Groups Links > > >