Session Management
Posted: Wed Jul 24, 2013 3:51 am
Does anyone have a working examples of session management ?
I have attempted to use the 'start session' and $_SESSION as referenced in the documentation have encountered issues and the documentation seems week.
Questions;
- How do you test if a session is already active?
- In a given dynamic html page, do you need to open with 'start session' and close the page with a 'stop session' ?
- How do you set developer defined key/value pairs?
- Is there a list of $_SESSION keys exposed to the developer?
- Are any other $_ arrays exposed like; $_ENV or $_COOKIE
Thanks,
E
I have attempted to use the 'start session' and $_SESSION as referenced in the documentation have encountered issues and the documentation seems week.
Questions;
- How do you test if a session is already active?
- In a given dynamic html page, do you need to open with 'start session' and close the page with a 'stop session' ?
- How do you set developer defined key/value pairs?
- Is there a list of $_SESSION keys exposed to the developer?
- Are any other $_ arrays exposed like; $_ENV or $_COOKIE
Thanks,
E