RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 752 | Replies: 12
Reply
Join Date: Jul 2007
Posts: 110
Reputation: Taffd is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
Taffd Taffd is offline Offline
Junior Poster

Re: Maintaining SESSIONS

  #11  
Dec 30th, 2007
josh,
According to that link, if you use "session_set_cookie_params", which you have to use on every page before session_start, you can set the time, in seconds there.
Reply With Quote  
Join Date: Jul 2007
Posts: 110
Reputation: Taffd is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
Taffd Taffd is offline Offline
Junior Poster

Re: Maintaining SESSIONS

  #12  
Dec 30th, 2007
Josh, here's an example from that page

//sets cookie to 1200 seconds or 20 mins
session_set_cookie_params(1200);
session_start();
Reply With Quote  
Join Date: Nov 2007
Posts: 47
Reputation: joshua.tilson is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
joshua.tilson's Avatar
joshua.tilson joshua.tilson is offline Offline
Light Poster

Re: Maintaining SESSIONS

  #13  
Dec 30th, 2007
Awesome I;ll give it a shot.. at this point in time however it has to be tomorrow i think
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:01 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC