Friday April 19, 2024

       
      SteelArrow Basics
      SteelArrow Tags
  SteelArrow Functions
  SteelArrow Objects
  Advanced Topics
  WAS Overview
   
   
       
      Overview
  Code Samples
  Site Search
   
   
   


Get SteelArrow!     
  <SACOOKIE/>    
 
 
 
Return to Tag List
 
The COOKIE tag is used to set add or change the value of a HTTP cookie that will be sent back to the client with the generated page data.
 
Attributes:
NAMEcookie name
VALUEcookie value
EXPIRESnumber of hours to expire (default is 0); or a full date/time
PATHpath of server that cookie is valid (default is '/')
DOMAINsub-domain for cookie (default is current domain)
SECURE'yes' or 'no'; applies to SSL

 
The following is an example of COOKIE;
 
<!--- Default path is '/' (which matches all directories) --->
<!--- Cookie will expire at end of HTTP session --->
<SACOOKIE SACOOKIE NAME="cook" VALUE="123">

<!--- This one expires the cookie in 2 hours, --->
<!--- and is valid in any directory that matches /st --->
<!--- (ie. /steel /steelarrow/samples /student/junk) --->
<SACOOKIE NAME="cook" VALUE="123" PATH="/st" EXPIRES="2">

<!--- This is an example of a domain cookie --->
<SACOOKIE NAME="cook" VALUE="123" DOMAIN=".steelarrow.com" EXPIRES="2">

<!--- This one is only valid for SSL communications --->
<SACOOKIE NAME="cook" VALUE="123" EXPIRES="2" SECURE="yes">





Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy