Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
I need to make session constant without destroyed after some time
Old 03-18-2009, 12:28 AM I need to make session constant without destroyed after some time
Junior Talker

Posts: 2
Name: Rex Sunny
Trades: 0
Actually i need to make session time out for 4hrs or unlimited. I used several methods. But no change in session timeout. What to do???
rexpsunny is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-18-2009, 12:53 AM Re: I need to make session constant without destroyed after some time
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
If you want "unlimited" time, you should probably use a cookie instead.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 03-18-2009, 06:13 AM Re: I need to make session constant without destroyed after some time
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
A 100% cookie solution could be a little insecure. A MySQL based solution would the be best. Essentially, just set a cookie which points to the users data in a database.
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Reply     « Reply to I need to make session constant without destroyed after some time
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34272 seconds with 12 queries