Plands.com Logo  Business Internet Services 
Main Menu
Home
Planetary CRM
  Benefits
  Features
  Demo
E-Mail Services
  E-mail Hosting
  Newsletters
  Discussion Lists
Web Hosting
Server Co-location
and Administration
Web Applications
Technical Support
Contact Us
DXP Samples
 
DxpHome  ||   Samples  ||   Details  ||   Docs  ||   Trees  ||   xml-xsl  ||   Links


AnonCookie is a DxpNode that creates or retrieves a cookie. It should be one of the first tags on the page so it can store the sessionID back in the request for use by other tags further down the page.

Lifepan defines how many minutes the cookie is valid for. The referer tag is optoinal. When present the page will check to see whether the request was posted by the referer URL. The urlParam is normally called "session" and is used as a fallback method if the user does not accept cookies.

The name parameter is stored in the cookie and will also be used as the resource name in the local authorization cache.

<dxp:AnonCookie name="myonlinestore" lifespan="120" database="mymerchant" urlParam="session">
   <dxp:Referer>http://mydomain.com/postform.html</dxp:Referer>
</dxp:AnonCookie>


@author Mark Ashworth
@version 0.3, 2001-10-31

Return to Index

Note: We have tried to test all of the code examples but they may contain errors. Any questions, comments, suggestions, or problems should be sent to info@plands.com.