Forum Discussion
hitesh_patel_37
Nimbostratus
Aug 17, 2011session cookie
I am not sure if the F5 8900 LTMs would support the below. Hopefully someone on the board may be able to help me out:
We would like to create a unique session cookie for a user session.
So when a user hits the F5 we want a cookie to be set on the browser to last the lifetime of the users browser session.
This is NOT the cookie to be used for load balancing, this is just a cookie to tie all the users interactions together.
Please can someone guide me here, perhaps a link/reference to some documentation?
Thanks in advance.
Rgds,
HP.
3 Replies
- hoolio
Cirrostratus
Hi Hitesh,
Here is a thread where we discussed this:
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/56401/showtab/groupforums/Default.aspx
You could insert the cookie with HTTP::cookie insert in the HTTP_RESPONSE event if it didn't exist already in the request:
http://devcentral.f5.com/wiki/iRules.http__cookie.ashx
Aaron - sprashanthac_81
Nimbostratus
What is the default time out for this Session cookie ? that is required for a troubleshoot sol. - Kevin_Stewart
Employee
That would depend on how you created the cookie. If you don't set the Expires flag in the Set-Cookie header then the cookie will be session-based and only last for the lifetime of the browser window.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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