docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.5Web Developer ManualProgramming Tags
Copyright  2012, Roxen Internet Software
Suggestions, comments & compliments

<?cdata ?>
<?noparse ?>
<?perl ?>
<?pike ?>


Provided by module: Tags: Session tag module

Forces a session id to be set in the variable client.session. The heuristics is as follows: If the RoxenUserID cookie is set, use its value. Otherwise redirect to the same page but with a prestate containing a newly generated session key. If now both the RoxenUserID cookie and the session prestate is set, redirect back to the same page without any session prestate set. The RoxenUserID cookie should be set automatically by the HTTP protocol module. Look at the option to enable unique browser id cookies under the server ports tab.

<if variable='client.session'>
  <!-- RXML code that uses &client.session;, e.g. as follows: -->
  <session id='&client.session;'>