Current location: Hot Scripts Forums » Programming Languages » PHP » Sessions in PHP4

Sessions in PHP4

Reply
  #1 (permalink)  
Old 12-01-08, 06:07 AM
mahmoud82's Avatar
mahmoud82 mahmoud82 is offline
Wannabe Coder
 
Join Date: Nov 2006
Location: Jordan
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
Sessions in PHP4

Dears,

Good Day

in php.ini the session.cookie_lifetime value is 0
which mean untill browser is closed but when I close the browser the session still exist

Note : my company use PHP4

Why??
__________________
Their is no 100% secure system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 12-01-08, 06:59 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 7,537
Thanks: 5
Thanked 20 Times in 18 Posts
Which browser are you using? Firefox has an option to save the last opened tabs, so they automatically reopen when you start it again. Try disabling this option if you have it enabled.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 12-01-08, 08:07 AM
mahmoud82's Avatar
mahmoud82 mahmoud82 is offline
Wannabe Coder
 
Join Date: Nov 2006
Location: Jordan
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
no I'm using IE7 & IE8
__________________
Their is no 100% secure system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 12-02-08, 11:10 AM
ianbrind ianbrind is offline
Wannabe Coder
 
Join Date: Jul 2008
Location: Somerset UK!
Posts: 192
Thanks: 0
Thanked 0 Times in 0 Posts
Check phpinfo() to see if it is the correct php.ini file and restart your webserver software.

Last edited by ianbrind; 12-02-08 at 11:11 AM. Reason: Spelling :P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 12-02-08, 11:19 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 2,838
Thanks: 13
Thanked 11 Times in 10 Posts
Quote:
Originally Posted by mahmoud82 View Post
in php.ini the session.cookie_lifetime value is 0
which mean untill browser is closed but when I close the browser the session still exist
If you have more than one browser open and but are only closing one of them, you may get some sort of 'cookie persistence' which can cause this. From my own experience both FF and IE sometimes do this.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data (scroll down)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sessions: Insecurity or Mass Confusion Kobra PHP 3 12-26-06 10:20 AM
sessions not working, please help! tallpaul858 PHP 2 04-29-05 07:23 AM
Weird behaviour with sessions Skeleton Man PHP 1 10-27-04 10:42 PM
Multiple sessions Kaanha PHP 2 01-16-04 11:39 AM


All times are GMT -5. The time now is 06:38 AM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.