Session gone after opening a new tab within Internet explorer / Google Chrome

Hi,

We currently have issues with a web application when a user clicks on something which opens a new browser tab. The session is gone and eventually times out. Is this a common issue which occurs often?

The web application is https and setup is quite simple with SSL offloading and Irule with redirection.

What steps can we take to make a deep-dive analysis and troubleshoot?

The only info we’ve this far is a “FYN” in a TCP Dump session from the clients public ip address. When the browser times out..

We see a new tab with NEW session ID where the application expects the same session ID. Is this even possible within F5 to have same session ID within a new tab/window?

I would imagine this to be a browser vendor-dependent thing. What session ID are you referring to?

You’re right about the first one. The session id is the Jsession ID produced by an IBM Websphere webserver.

So then the question is, does the client send the JSESSIONID from the first tab to the second tab? What persistence method are you using? Probably the best way to troubleshoot this sort of thing is to simply watch the traffic from the client’s perspective. Load up HTWatch or Fiddler in the browser and watch:

  1. When cookies are sent to the client

  2. When the JSESSIONID is sent to the client

  3. When the client sends back the JSESSIONID

  4. What the client sends when it accesses the second tab

5 how the second tab responds to the client

When we investigate with firebug we see the JessionID what the client sends back stays the same when a new tab is openened.

Is Persistence in use? If so, which method please?

Interesting that this is about the forth issue I’ve seen this week around the JSESSIONID and new connections.

We’ve experienced with several ways of persistence. Cookie persistence and UIE persistance in combination with an irule. so far we’ve experienced same behaviour. It’s possible a colleague of mine dropped a line as well.. :slight_smile:

So let’s eliminate a few factors. In the Fiddler traces you say the jsessionid stays the same. I’m assuming you mean in both tabs? If you enable cookie persistence, does that cookie change, or do you notice the client getting load balanced to a different server? What is different about the client’s first request to the second tab and it’s last request to the first tab? I’m talking about headers, cookies and anything else in the request payload. Last, what happens when the app fails? What does the server send to the client, and what is the last thing the client sends before the failure?

Just so it’s clear, the second tab is to the same VS yes?

We’ve encountered something else where an icon should be displayed on the web page but isn’t there. So the loadbalancer sends back a 302 error and does a redirect to the mainpage. This is on the same VS

Again, is second tab to a page/whatever on the same VS yes please?

Yes, it’s on the same VS

Sorry, looks like you did say after a reread. So, any answers to Kevin’s questions?

I’m still working on that.

The whole session id and cookie persistence isn’t applicable anymore because it is a result of the 302 error we get as response of the F5. Now the F5 does this for any object that isn’t present on the website. Therefore we try to adjust the application to include the object in the section which is opened by a new tab. For the rest of the objects we try to figure out why the F5 does a redirect when the object isn’t there. We allready set the rewrite option to NONE on the http profile. But there is probably something else we’re overlooking.

What is the 302 redirect sending you to?

The main URL and therefore loses it’s connection.

OK We’ve discovered the problem icon was the favicon.ico. We included the html tag in the help pages and the problem was solved. For other redirection problems we’ve disabled an irule on the VS which was custom made by a security company and also those problems didn’t occur anymore.

Now other problems that are left over are user experiences with an IE11 browser. We’ve tested with IE7/8/9/10 Firefox and Chrome and went smoothly.

Cool. Where IE11 is concerned you could always use an iRule to force use of IE9 or 10 rendering.