jeeva Posted July 17, 2008 Share Posted July 17, 2008 Hi frnds, How to give expire time for a particular session? For Example: I have two session variable like $_SESSION['id']="jee5" $_SESSION['name']="jeeva" now i want give expire time for $_SESSION['name'] not for $_SESSION['id'] Hw can i do this? Jeeva Quote Link to comment Share on other sites More sharing options...
unkwntech Posted July 17, 2008 Share Posted July 17, 2008 Although I'm not 100% sure I don't think its possible I would consider using a cookie to store the info, that you want to keep, just set an expiration date for the cookie. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.