Forum Discussion
ramann_75062
Nimbostratus
Mar 23, 2009cookie expire time
Hi@all,
is it possible to add an expire time to an cookie?
I try to implement
http://devcentral.f5.com/wiki/default.aspx/iRules/HTTPSessionLimit.html
But the problem is, that when user close the browser, the :total_active_clients is not increase.
Reason for this is to implement a wainting room under high load.
We use: BIG-IP 9.4.6 Build 401.0 Final
thanks
Bjoern
2 Replies
- The_Bhattman
Nimbostratus
Have you looked a the following:
http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__cookie.html
CB - Colin_Walker_12Historic F5 AccountYou should be seeing the total_active_clients number decrement on each close connection. If someone closes their browser you should eventually get a session closed.
Regardless, though, the answer to your question is yes, you can absolutely set and check the cookie expire time:HTTP::cookie expires [seconds] [absolute | relative]
The above link that cmbhatt posted has all of the HTTP::cookie commands and their syntax.
Hope this helps,
Colin
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