Forum Discussion
session timeout handling
We have a filer which does application level redirection based on httpSession object. We have recently added bigIp to the stack. Prior to load balancer configuration we were getting the httpSession object as null when the application times out. Post load balancer we are getting a not null httpSession object. Hence there is no way to distingush between first time login and redirec to login page on session redirect. Is it possible to force the load balancer to return a null httpSession object when the web applcation times out?
2 Replies
- ffive_154017
Nimbostratus
Is it possible to create an iRule which will purge the session (return null session object) returned to the application server on session timeout OR add a header message by which the application can distinguish the session time out at the code level? - Kevin_Stewart
Employee
Is the "httpSession" object you're referring to a cookie set by the application? In a pure protocol sense, HTTP is stateless, so any "session" between a client and server would have to be maintained by some persistent object that the client sent back in each request (a cookie, a URI pattern, a header, etc.). In that case, what happens when the application session times out, that doesn't happen when it's behind the load balancer? Are you using any iRules? Have any specific or unusual configuration on the load balancer virtual server?
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