docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.0Web Developer ManualProgramming Tags
Copyright © 2006, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

<cache>
<?cdata ?>
<cgi>
<clear-session>
<crypt>
<debug>
<dice>
<eval>
<force-session-id>
<fsize>
<gauge>
<maketag>
<nocache>
<nooutput>
<noparse>
<?noparse ?>
<page-size>
<?perl ?>
<?pike ?>
<servlet>
<session>
<set-max-cache>
<trace>
<writefile>

<force-session-id/>

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.


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