Forum Discussion
cookie value
Hi,
I would like to create a cookie in response which has different values combined.
when HTTP_RESPONSE {
HTTP::cookie insert name "CTRL" value "CREDENTIALS=admin&USER=jsmith"
}
or
when HTTP_RESPONSE {
HTTP::cookie insert name "CTRL" value "CREDENTIALS%3Dadmin%26USER%3Djsmith"
}
But when I do a request the cookie is not created. How can this be done?
I figured out that it just works sometimes but not for every request. Is there a limitation about charakters allowed in cookie values?
Thank you
bb
3 Replies
- What_Lies_Bene1
Cirrostratus
I'm not aware of any limitations regarding characters.
1) Is this the only iRule assigned to the VS?
2) What are you using to confirm the cookie exists?
3) Could you add some logging like: 'log local0. "Cookie inserted" that might help? - Andrea_Arquint
Nimbostratus
Posted By What Lies Beneath on 04/11/2013 04:43 AM
I'm not aware of any limitations regarding characters.
1) Is this the only iRule assigned to the VS?
2) What are you using to confirm the cookie exists?
3) Could you add some logging like: 'log local0. "Cookie inserted" that might help?
Hi SteveSorry for that. I see that the cookie insertion was done corectly but just the "log local0." did not work. curious :-)
After all: If a cookie is inserted like I did it works anyway. I don't know why the log does not all the time but basically it works!
thanx bb
- What_Lies_Bene1
Cirrostratus
OK, sounds good. Cheers
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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