Re: Split Thread with 2 browsers

2002-02-07 Thread Oto Buchta

Dne t 13. prosinec 2001 15:18 Alistair Hopkins napsal(a):
 IE specific:

 If you open a new window of IE from the old one (hyperlink, FILE  NEW 
 WINDOW) then it shares session cookies

 If you open a new IE session by command from the OS (Start menu, desktop
 shortcut) it doesn't share them.

 Q.: can you launch a new window by putting in a hyperling to (eg) 'IEXPLORE
 http://yoursite/yourpage'? Nasty!

There are three stupid things here:

1)By your Start menu you started new PROGRAM, not only new WINDOW!
2)You assume that MSIE is in the path and the name of the program is IEXPLORE
3)You assume the user uses MSIE
4)You assume the user uses Windows
-- 
Oto 'tapik' Buchta

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Split Thread with 2 browsers

2001-12-13 Thread Alistair Hopkins

IE specific:

If you open a new window of IE from the old one (hyperlink, FILE  NEW 
WINDOW) then it shares session cookies

If you open a new IE session by command from the OS (Start menu, desktop
shortcut) it doesn't share them.

Q.: can you launch a new window by putting in a hyperling to (eg) 'IEXPLORE
http://yoursite/yourpage'? Nasty!

Alistair



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Craig R. McClanahan
Sent: Wednesday, December 12, 2001 6:03 PM
To: Tomcat Users List
Subject: Re: Split Thread with 2 browsers


On Tue, 4 Dec 2001, John  Regan wrote:

 Date: Tue, 4 Dec 2001 09:07:38 -0800
 From: John  Regan [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat User Group (E-mail) [EMAIL PROTECTED]
 Subject: Split Thread with 2 browsers


 Desired functionality:
 User opens browser, clicks through several pages as a certain user type
 then opens a second browser because they want to be a different user
type.
 The user should be able to proceed in either browser without session
 information being overwritten in the other browser's session.

 Has anyone implemented any similar functionality?

 Note: using tomcat 4.x as http server and JSP container.



The problem here is the browser -- there's nothing you can do on the
server to make this work if the browser shares cookies across windows.

Some people have had success turning cookies off and using URL rewriting
to maintain session state separately for each window.

Craig



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Split Thread with 2 browsers

2001-12-12 Thread Craig R. McClanahan

On Tue, 4 Dec 2001, John  Regan wrote:

 Date: Tue, 4 Dec 2001 09:07:38 -0800
 From: John  Regan [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat User Group (E-mail) [EMAIL PROTECTED]
 Subject: Split Thread with 2 browsers


 Desired functionality:
 User opens browser, clicks through several pages as a certain user type
 then opens a second browser because they want to be a different user type.
 The user should be able to proceed in either browser without session
 information being overwritten in the other browser's session.

 Has anyone implemented any similar functionality?

 Note: using tomcat 4.x as http server and JSP container.



The problem here is the browser -- there's nothing you can do on the
server to make this work if the browser shares cookies across windows.

Some people have had success turning cookies off and using URL rewriting
to maintain session state separately for each window.

Craig



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Split Thread with 2 browsers

2001-12-04 Thread John Regan


Desired functionality:
User opens browser, clicks through several pages as a certain user type
then opens a second browser because they want to be a different user type.
The user should be able to proceed in either browser without session
information being overwritten in the other browser's session.  

Has anyone implemented any similar functionality?

Note: using tomcat 4.x as http server and JSP container.




RE: Split Thread with 2 browsers

2001-12-04 Thread Conor . Power

You should be able to implement this functionality using URL rewriting where
the session identifier is stored on the query string rather than as a cookie
in the browser.

In this way once the user opens a new window and logs in again you can
create a new session in the second browser.

Conor.

-Original Message-
From: John Regan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 9:08 AM
To: Tomcat User Group (E-mail)
Subject: Split Thread with 2 browsers



Desired functionality:
User opens browser, clicks through several pages as a certain user type
then opens a second browser because they want to be a different user type.
The user should be able to proceed in either browser without session
information being overwritten in the other browser's session.  

Has anyone implemented any similar functionality?

Note: using tomcat 4.x as http server and JSP container.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Split Thread with 2 browsers

2001-12-04 Thread John Regan

thank you Conor for the quick response.

this works if the second browser is launched from the desktop but if the
second browser is launched using Ctrl+N from the first browser both browsers
share the same session.  is there any way around this?  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:50 AM
To: [EMAIL PROTECTED]
Subject: RE: Split Thread with 2 browsers


You should be able to implement this functionality using URL rewriting where
the session identifier is stored on the query string rather than as a cookie
in the browser.

In this way once the user opens a new window and logs in again you can
create a new session in the second browser.

Conor.

-Original Message-
From: John Regan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 9:08 AM
To: Tomcat User Group (E-mail)
Subject: Split Thread with 2 browsers



Desired functionality:
User opens browser, clicks through several pages as a certain user type
then opens a second browser because they want to be a different user type.
The user should be able to proceed in either browser without session
information being overwritten in the other browser's session.  

Has anyone implemented any similar functionality?

Note: using tomcat 4.x as http server and JSP container.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



RE: Split Thread with 2 browsers

2001-12-04 Thread Conor . Power

Even if you open a new browser with Ctrl+N, the user will have to login the
second user, at which point a new session is generated and maintained in the
query string of the URL.

This implies the following:

1. every successful login will generate a new session
2. a new login will not invalidate an existing session

Conor.

-Original Message-
From: John Regan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 11:49 AM
To: 'Tomcat Users List'
Subject: RE: Split Thread with 2 browsers


thank you Conor for the quick response.

this works if the second browser is launched from the desktop but if the
second browser is launched using Ctrl+N from the first browser both browsers
share the same session.  is there any way around this?  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 10:50 AM
To: [EMAIL PROTECTED]
Subject: RE: Split Thread with 2 browsers


You should be able to implement this functionality using URL rewriting where
the session identifier is stored on the query string rather than as a cookie
in the browser.

In this way once the user opens a new window and logs in again you can
create a new session in the second browser.

Conor.

-Original Message-
From: John Regan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 9:08 AM
To: Tomcat User Group (E-mail)
Subject: Split Thread with 2 browsers



Desired functionality:
User opens browser, clicks through several pages as a certain user type
then opens a second browser because they want to be a different user type.
The user should be able to proceed in either browser without session
information being overwritten in the other browser's session.  

Has anyone implemented any similar functionality?

Note: using tomcat 4.x as http server and JSP container.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]