Definition of Whitebeam XML Tags

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
    authenticate
    block
    cachecontrol
    eval
    false
    header
    include
    insertblock
    insertdebug
    macrotag
    marksession
    nomacro
    noscript
    parser
    redirect
    repeatfor
    return
    script
    if
    test
    true
    xmp
    eval
    id
    marksession
    test
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Definition of Whitebeam XML Tags

rb:marksession

This attribute is part of the Whitebeam session tracking mechanism. This topic is covered in some detail in the session techical note. In summary, the Whitebeam system assigns each identifiable browser a unique session ID - that expires after not being used for a specific period of time. The Presentation Engine has to be able to embed this session ID at the client and to have the client return the ID with each request.

In the case of a client with cookies enabled this is straightforward - the Presentation Engine always attempts to write the session id to a client side cookie. For those cases where th client refuses to accept cookies, and the web designer wants to work with those clients, there is slightly more work to be done. This is where the 'rb:marksession' attribute is used.

At each point in a presentation page that includes a URL pointing back to a Pattern Page on the the same site, add the rb:marksession="yes" attribute to the referening XML tag. The most common examples of these are the anchor tag, <a href="..."> and the <form action="???"...> tags. There are plenty of others.

Wherever the presentation engine encounters an instance of this attribute within the presentation page it has the following behaviour:

if the enclosing tag is a <form...> tag then
   insert a hidden form item:
      <input type="hidden" name="Red60urne" value="SessionId">
else
   if tag contains an 'href' attribute
      Insert Re60urne=SessionId into the query string;

   if tag contains an 'src' attribute
      Insert Re60urne=SessionId into the query string;
endif

In this psuedo code SessionId is the unique ID allocated to this specific client session.

Whitebeam release 1.3.36
(loadtime : 13ms)