Jump to content

Global Variables


shadowayex

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...