Forum Discussion
Wynand_van_Nisp
Nimbostratus
Jun 02, 2008Session persistance in browser tabs
Hi,
We have a client that has a Java banking app. The issue is as soon as you open multiple tabs the sessions get mixed up since the application uses cookies to maintain its session state.
To fix this browser tab need to have its own cookie or method of tracking the flow.
I have tried :
----
when CLIENT_ACCEPTED {
set add_persist 1
set curtime [clock seconds]
set cname "Cookie$curtime "
log local0. " $cname "
}
when HTTP_RESPONSE {
if {$cname != ""}{
HTTP::cookie insert name "$cname" value $cname
persist uie [HTTP::cookie $cname]
set add_persist 0
}
}
----
but it did not work.
Thanks for the help
Wynand
Has any one come across this before.
- hoolio
Cirrostratus
Hello, - Wynand_van_Nisp
Nimbostratus
Hi, - hoolio
Cirrostratus
Is this an accurate summary of the scenario? - Deb_Allen_18Historic F5 AccountI'd expect the cookies to be shared across tabs in both IE and Firefox, so I'm not sure if the above scenario is possible.
- hoolio
Cirrostratus
One place I have seen cookies not being sent is when a request is spawned from the browser through Java. And to complicate the troubleshooting, HTTPwatch didn't get this traffic as it wasn't originated from the Java client. It might be helpful to install an interception proxy and configure both Java and the browser to use localhost:8080 (or whatever port you configure the interception proxy on) to catch the requests. BURP (Click here) is a free for non-commercial use, lightweight and easy to use. - Andy_Herrman_22
Nimbostratus
I find Fiddler to be incredibly helpful for debugging that kind of thing, and it doesn't require you to modify any browser settings. - Wynand_van_Nisp
Nimbostratus
I spoke to the client and they were not to happy to do a SSL trace due to the fact that they are a bank but explained it like this : - hoolio
Cirrostratus
Hi Wynard, - spark_86682Historic F5 Accounthoolio is correct; the browser will only keep one cookie for the site and present it no matter which tab is used to access the site.
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