Forum Discussion
gerald_wegener_
Nimbostratus
Aug 21, 2006How to tell if cookies are disabled
Hi,
Is there some way to determine if a browser has cookie support disabled?
Thank You.
gerald_wegener_
Nimbostratus
Sep 21, 2006Hi,
I can't seem to find the correct syntax to get the cookie expiration on a request. It seems like the following should work but it doesn't. The cookie name is stick2. I know for a fact (using http watch) the expiration is set on the incoming request. I've looked through DevCentral but can't find examples for extracting cookie expiration. I can only find the syntax...
when HTTP_REQUEST {
if { [HTTP::cookie exists "stick2"] } {
log local0. "CookieB value is: [HTTP::cookie value "stick2"] expires on: [HTTP::cookie stick2 expires]"
}
}
The cookie exists and I get the cookie value OK but no expiration.
Here is how I set the cookie:
when HTTP_RESPONSE {
HTTP::cookie insert name stick2 value %7cb%7c
HTTP::cookie expires stick2 36000
HTTP::cookie domain stick2 abc.com
}
What am I doing wrong?
Thank You.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects