Hi guys,
Sorry for asking something that maybe already obvious to you all. But since i'm newbie, i just need further explanation. (I've read the PHP Sessions thread written by Atli)
In my head, i figured out that actually a session variable is only somekind of global array variable stored in server that works in entire of our site (every page that need the session variable can access it).
So is it the same thing if i develop a technique that passing variables from one page to another page ? But of course, session makes it very simple.
In short, my question is :
session variable = regular variable that passed to every page?
---
Another question is :
Can we set the session time-out specifically on each page (so the time-out for page A would be different from B) instead of setting it globally in php.ini ?
Thank you very much.
Sorry for asking something that maybe already obvious to you all. But since i'm newbie, i just need further explanation. (I've read the PHP Sessions thread written by Atli)
In my head, i figured out that actually a session variable is only somekind of global array variable stored in server that works in entire of our site (every page that need the session variable can access it).
So is it the same thing if i develop a technique that passing variables from one page to another page ? But of course, session makes it very simple.
In short, my question is :
session variable = regular variable that passed to every page?
---
Another question is :
Can we set the session time-out specifically on each page (so the time-out for page A would be different from B) instead of setting it globally in php.ini ?
Thank you very much.
Comment