ACE Server side Cookie with path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2014 01:58 AM
Hi,
I have a demand for configuring serversida cookie sticky that includes a path, i.e:
/path1/cookie1
/path2/cookie2
/path3/cookie3
does it in the normal
"sticky http-cookie cookie1 websticky1"
"cookie1" take the "/path1/cookie1" into account?
Or in essence, I need to distinguish btw:
<Context sessionCookieName="PRIVJSESSIONID" sessionCookiePath="/" reloadable="false">
<Context sessionCookieName="PRIVJSESSIONID" sessionCookiePath="/priv" reloadable="false">
Regards
Dennis
Using Ace30 with 5.2(1e) and soon 5.3(0)
- Labels:
-
Application Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2014 05:03 AM
Hi,
Sticky http cookie xxx that you have configured is for the cookie inside HTTP Header. It looks like you want the ACE to read the cookie from URL and ace can do that. Please have a look at "Secondary Cookie" option.
The way this typically works is that server is configured to insert the same secondary cookie in both the "Set-Cookie" header and HTML URI. ACE creates a sticky entry based on the Set-Cookie header of the server response. Then, when client returns with the same cookie value in the URL query, it is stuck to the same server.
"Cookie secondary" is not meant to work independently of regular cookies. It is meant to be a complementary feature for cases where the client has disabled cookies in their browser. The server is still expected to insert a standard Set-Cookie header in the response.
Regards,
Kanwal
