redarrow Posted July 6, 2006 Share Posted July 6, 2006 When you send a link to a users email address to activate account,the link shows the users session within the link,what i wont to know does that session stay as the users session always or does it change from each time the user logs in.link example.[code]<a href="http://whatever.com/activate_account.php?&id=$id">Activate account</a>[/code]AdvanceThanks cheers. Quote Link to comment https://forums.phpfreaks.com/topic/13870-about-the-session-in-a-link-when-link-sent-via-email/ Share on other sites More sharing options...
wildteen88 Posted July 6, 2006 Share Posted July 6, 2006 The session id will chane when the session times out or is destoryed.A new session is regenerated when you destory the session or if the user current doesnt have a valid session. Quote Link to comment https://forums.phpfreaks.com/topic/13870-about-the-session-in-a-link-when-link-sent-via-email/#findComment-54044 Share on other sites More sharing options...
redarrow Posted July 6, 2006 Author Share Posted July 6, 2006 What is the correct method to give a session the life period of 1 year .cheers. Quote Link to comment https://forums.phpfreaks.com/topic/13870-about-the-session-in-a-link-when-link-sent-via-email/#findComment-54046 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.