Forum Discussion
karthik_sriniva
Nimbostratus
Apr 07, 2005Setting HTTP COOkie
Hi,
I am trying to set a HTTP Cookie from AUTH_SUCCESS event and I get the following error
[command is not valid in current event context (AUTH_SUCCESS)] [HTTP::username]
...
Tao_Liu_90341
Apr 07, 2005Historic F5 Account
I don't know why, it is likely your brower did not send the cookie. Try to remove line
HTTP::cookie secure $ckname enable
And if possible, use sniffer to see if there is a cookie sent. At this level of iRULE complication, should spend some time to figure out all details, like COOKIE validation, expiration, which is at your option.
The rule posted is just an example.
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