shadowayex Posted July 30, 2009 Share Posted July 30, 2009 I've often wondered about this.I use $_SESSION to store data I need to carry from page to page. I was wondering if this is technically correct, or if there's a better way to do it?I never thought it'd do any harm because I have all the $_SESSION data destroyed when the user signs out, so I thought "no biggie." But the curiosity kills me.Is there actually a technically correct way to carry data page to page or is what I'm doing the way to do it? Link to comment Share on other sites More sharing options...
justsomeguy Posted July 30, 2009 Share Posted July 30, 2009 That's what the session is for. Link to comment Share on other sites More sharing options...
shadowayex Posted July 30, 2009 Author Share Posted July 30, 2009 That's what the session is for.Sweet. Thank you =D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.