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

Mark all anchor and src tags with session ID

Body

The rb:marksession body is empty.

Remarks

The WhitebeamPresentation Engine provides all the necessary logic to track user sessions and to allow Pattern Pages to store information against those session. For this facility to work the Presentation Engine must plant a session identification value on the clients machine in such a way that the browser will return that ID to the engine with the next request. The Presentation Engine always attempt to plant a browser cookie containing the value back with the client. This works fine for all clients that have cookies enabled (the majority). and if a site is happy with this then nothing else is required.

If the client disables cookies for some reason a different strategy is required. Generally the process involves adding the ID to any site referencing URLs and to add 'hidden' form values to forms. The engine can do all the real work for this simply by the web author adding the marksession attribute to all elements that refer back to the same site.

This can however be tedious - the rb:marksession tag can be placed once anywhere in a Pattern Page - or a page included - and it will mark all anchor, image and form tags that are appropriate with the session ID.

An element suitable for tagging must have a URL in an 'href' or 'src' attribute that includes no prototol part (must not start with http). To force the Presentation Engine to avoid marking a reference explicitly - make use the URL starts with 'http:'.
Whitebeam release 1.3.36
(loadtime : 8ms)