Forum Discussion
Ido_Katz_38061
Nimbostratus
Aug 30, 2010http::Respond with Cookie
Hello Gents,
If have a little problem with my irule:
This is a part from the irule:
HTTP::respond 301 Location "http://www.prp1-ezfx.com" "Set-Cookie" "QQQQQQQQQQQQQQQQQ=1; domain=.prp1-ezfx.com; expiry=Mon, 30 Aug 2010 23:41:33 GMT; path=/"
I'm trying to combine http respond with cookie but from some reason I cannot see it.(checked by fiddler)
Any suggestions?
Thanks
1 Reply
Sort By
- Chris_Miller
Altostratus
Here's my syntax:set host_used [HTTP::host] set ckname "example" set ckvalue "example" set cookie [format "%s=%s; path=/; domain=%s" $ckname $ckvalue "$host_used"] HTTP::respond 302 Location "http://$host_used" "Set-Cookie" $cookie
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