Re: Using tabbed browsers causes session sharing

2008-08-18 Thread David Smith
In my experience, Internet Explorer starts a new process (and has a separate set of in-memory cookies) if you start it from the Start menu or the desktop icon. If you use Ctrl-N from inside the browser or File New Window from IE's menu bar, it's opened in the same process and uses the same

Re: Using tabbed browsers causes session sharing

2008-08-18 Thread Jim Cox
FWIW, you can create distinct profiles with mozilla/firefox: firefox -ProfileManager And then start distinct processes with: firefox -P profile name On Mon, Aug 18, 2008 at 8:19 AM, David Smith [EMAIL PROTECTED] wrote: In my experience, Internet Explorer starts a new process (and has a

Re: Using tabbed browsers causes session sharing

2008-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rusty, Rusty Wright wrote: Sorry, I thought I did. It has nothing to do with tomcat; it's up to the browser whether or not it assigns different sessions to the tabs or not. Replace sessions with cookies and the above statement is true. HTTP is

Re: Using tabbed browsers causes session sharing

2008-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: if you want to take it a step further determine if the client is using an old browser route them to latest script language=JavaScript !-- function onLoad() if(parseInt(navigator.appVersion)7);

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Robert Dietrick
This is normal behavior. Sessions are tied to cookies bound to an entire domain. Why would you want the same person logged in twice with different accounts? On 8/15/08, murthy gandikota [EMAIL PROTECTED] wrote: Hello All While using tabbed browsers (e.g. IE 7) I am facing a login problem. Say

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Rusty Wright
Sessions are tied to the whole browser, not tabs within the browser. In other words, it's a browser issue, not a tomcat issue. murthy gandikota wrote: Hello All While using tabbed browsers (e.g. IE 7) I am facing a login problem. Say on Tab#1 I login with a username A, on Tab#2 I login with

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Bill Davidson
Robert Dietrick wrote: Why would you want the same person logged in twice with different accounts? As a developer of a web app that has both admin and regular user roles, I want to do this all the time. The admin roles can change things in ways that affect the regular user's view. I want

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Davidson wrote: Robert Dietrick wrote: Why would you want the same person logged in twice with different accounts? As a developer of a web app that has both admin and regular user roles, I want to do this all the time. The admin

RE: Using tabbed browsers causes session sharing

2008-08-15 Thread Nathan E. Pilling
. -Original Message- From: Bill Davidson [mailto:[EMAIL PROTECTED] Sent: Fri 8/15/2008 2:14 PM To: Tomcat Users List Cc: Subject:Re: Using tabbed browsers causes session sharing Robert Dietrick wrote: Why would you want the same person logged in twice with different accounts

RE: Using tabbed browsers causes session sharing

2008-08-15 Thread Martin Gainty
not necessarily endorse content contained within this transmission. Date: Fri, 15 Aug 2008 16:21:38 -0400 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: Using tabbed browsers causes session sharing -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Davidson wrote

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread David Rees
On Fri, Aug 15, 2008 at 1:21 PM, Christopher Schultz [EMAIL PROTECTED] wrote: Bill Davidson wrote: The way I deal with it is to use Firefox for one and IE for the other. You could use separate tabs in the same browser if you were to disable cookies on your browser (and you have correctly

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Bill Davidson
Christopher Schultz [EMAIL PROTECTED] wrote: You could use separate tabs in the same browser if you were to disable cookies on your browser (and you have correctly encoded your outgoing URLs). David Rees wrote: Yep, this is probably the best way to do it. Just keep in mind that if you copy

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread André Warnier
murthy gandikota wrote: Hello All While using tabbed browsers (e.g. IE 7) I am facing a login problem. Say on Tab#1 I login with a username A, on Tab#2 I login with username B, I still see A's session. Apparently the browser/Tomcat doesn't create a new session. Has anyone faced this problem?

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread André Warnier
Robert Dietrick wrote: This is normal behavior. Sessions are tied to cookies bound to an entire domain. Why would you want the same person logged in twice with different accounts? I don't know what the real issue of the OP is, but there are plenty of situations where you would want to have 2

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread André Warnier
Hi guys, shouldn't someone *explain* to the OP why this is happening ? I mean, the different bits and pieces are there in different answers, but maybe the big picture is missing to understand what and why it is happening ? Not knowing myself the hows and whys of Tomcat's session management, I

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Rusty Wright
Sorry, I thought I did. It has nothing to do with tomcat; it's up to the browser whether or not it assigns different sessions to the tabs or not. Apparently IE, or some versions of IE, do. In my experience Firefox doesn't. I think if you have multiple Firefoxes opened, i.e., separate

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Leon Rosenberg
Thats probably because it has nothing to do with tomcat or sessionmanagement, but has something to do with cookies and browser processes. AFAIK the only browser which allow theirself to be started in multiple processes are internet explorer and lynx. And internet explorer only if you activated a

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Johnny Kewl
- Original Message - From: André Warnier [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, August 16, 2008 12:56 AM Subject: Re: Using tabbed browsers causes session sharing Hi guys, shouldn't someone *explain* to the OP why this is happening ? I mean

RE: Using tabbed browsers causes session sharing

2008-08-15 Thread Martin Gainty
than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Sat, 16 Aug 2008 01:29:56 +0200 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: Using tabbed browsers causes session sharing Thats probably because it has nothing

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Robert Dietrick
That's an acceptable way to deal with the problem (it's not a tomcat problem after all but an abnormal use case). Anyone who's built an administrative web app is accustomed to such shenanigans. If you have a legitimate need to access different parts of your app while logged in under one account,