12 Feb 2012, 5:14 PM
Totally Zenned
- Join Date:
- Feb 2009
- Location:
- UK
- Posts:
- 1,326
- Plugin Contributions:
- 0
Is this script correct to force a new user session?
For reasons that are complicated to explain I want to have the user end a session and create a new one when selecting a field from a drop down box.
Is this the correct code snippet to use?
if (SESSION_RECREATE == 'True') {
zen_session_recreate();
}
If so then I can start to work out how to incorporate it into my <script> or <select> tags (not quite sure which,at the moment!).