Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Core Content Server Variabl... > getCookie
Obtains a cookie from a browser.
This is useful for tracking user sessions when the information does not need to be stored in the personalization.
Can be used to track the last pages navigated to, or the last searches which were run.
Type and Usage
Parameters
This function takes one parameter, the name of the cookie.
Example
<$myCounter=getCookie("myCounter")$> <$if not myCounter$> <$myCounter=1$> <$endif$> Num times loaded: <$myCounter$> <$setCookie("myCounter", myCounter+1, dateCurrent(1))$>
See Also