Forum Discussion
Joe_Hsy_45207
Nimbostratus
Apr 24, 2009saving local vars across redirects?
Hi,
I'm trying to save some post parameters into a local var which survives across redirects back to the same vip. Currently, if the post results in a 302 response, the local vars appe...
hoolio
Cirrostratus
Apr 29, 2009Hi Joe,
If you don't want to modify the response sent to the client you could store the data in the LTM session table using the session command (Click here). The advantage to this over a global array is that LTM will provides a timeout option for entries. So you don't hvae to worry about trying to clean up stale entries. If you have multiple clients connecting from the same IP addresses, you could use the client IP and the user-agent header value as a combined key to store the session data.
Aaron
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