Forum Discussion
hooleylist
Oct 04, 2011Cirrostratus
What are you trying to do? When you say it's not working, what is or isn't happening?
Inserting a cookie and then sending a redirect in HTTP_REQUEST isn't going to work. In HTTP_REQUEST, the HTTP::cookie insert will insert a cookie in the request proxied to the pool member. If you redirect the request, that redirect won't have the cookie set. If you want to insert a cookie in a redirect response, you can use HTTP::respond:
http://devcentral.f5.com/wiki/iRules.http__respond.ashx
Aaron