Forum Discussion
Joe_Fontes_4518
Nimbostratus
Sep 13, 2007Encrypting Cookie Produces Numerous Cookies
So I followed the advise on:
https://tech.f5.com/home/solutions/sol7784.html
and now things appear to be working. Unfortunately, for some reason it creates numerous cookies...as if it is creating a new one for every directory request.
The initial cookie has a longer string, the next ones have a shorter string. I took the string out of the shorter ones and use base64_decode() in php to check out the contents and it doesn't look like its the regular cookie contents.
Anyways, instead of just one cookie present without using the iRules, there are now 7 present on the client side (one for each directory is hit...such as the images directory).
Any ideas on this one?
In looking through the example I am guessing that for each request the cookie should be deleted...but it just looks like a new one is created. In the firefox cookie viewer you can see that they are all named the same as well.
- Joe_Fontes_4518
Nimbostratus
I did find one bug with this as well. For some reason after I impement this iRule, Firefox users have to clear out their cookies before they are able to view the site. If they don't clear out the cookie they get a connection refused from the F5. Any reason why this would not clear out the cookies properly on Firefox...seemed to work on IE. - Joe_Fontes_4518
Nimbostratus
If anyone is interested...I found a quick fix around the firefox issues.
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