redarrow Posted February 26, 2007 Share Posted February 26, 2007 Hi there all hopes all ok and the day is bringing you joy. What i need to no if i use a session for 3 pages but within a whole project would i need to use the unset and sesssion destroy on all other pages within the project. I was thinking that this would be safer then useing a $_GET[''] with the inforamation in the link. Thank you and all enjoy this sunny day. Link to comment https://forums.phpfreaks.com/topic/40160-session-advice-please-cheers/ Share on other sites More sharing options...
magnetica Posted February 26, 2007 Share Posted February 26, 2007 Depends whether what you have stored in the session is going to be used again. If not then yeah destroy it. If it will then don't Link to comment https://forums.phpfreaks.com/topic/40160-session-advice-please-cheers/#findComment-194293 Share on other sites More sharing options...
redarrow Posted February 26, 2007 Author Share Posted February 26, 2007 I will only be using the information for three page a paypal page and a submit page and the page there on. so session_destroy() and unset should do it cheers m8. Link to comment https://forums.phpfreaks.com/topic/40160-session-advice-please-cheers/#findComment-194297 Share on other sites More sharing options...
magnetica Posted February 26, 2007 Share Posted February 26, 2007 Yea so are these pages like a wizard.. As in: Page 1 - Something Page 2 - Something Page 3 - Submit everything If so then yea go ahead and destroy the session Link to comment https://forums.phpfreaks.com/topic/40160-session-advice-please-cheers/#findComment-194301 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.