Re: Multiple sessions

1999-06-21 Thread Anonymous

Steve,

We've had to deal with this problem and we do so by maintaining what we call
"user session" objects.  We pass a user session id around to identify the
user session.  The requirement was based on the fact that a single user
might open multiple windows of the same browser to access the same web app
multiple times, and, yes, without this extra layer confusion could ensue.

Dan
--
Daniel Kirkdorffer
NACN IS: 425-580-6225
Sr. Consultant, Syllogistics LLC
Email: [EMAIL PROTECTED]
Web:   http://www.syllogistics.com/


 --
 From: Steve Cooke[SMTP:[EMAIL PROTECTED]]
 Reply To: Steve Cooke
 Sent: Thursday, June 10, 1999 4:16 AM
 To:   [EMAIL PROTECTED]
 Subject:  Multiple sessions

 Is it possible to create muliple sessions for the same user.  If a user
 opens two browser windows, both windows share the same session scoped
 beans.
 This leads to pretty bothersome effects when, for instance, the bean
 preserves visual state or the user would like two instances of the same
 form, or would like to login into a site under different user names, etc.

 Ideas?

 Steve

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff JSP-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: multiple sessions

1999-06-11 Thread Anonymous





Subject: Multiple sessions
Date: Thu, 10 Jun 1999 07:16:29 -0400
From: Steve Cooke [EMAIL PROTECTED]>
Is it possible to create muliple sessions for the same user.
If a user
opens two browser windows, both windows share the same session scoped beans.
This leads to pretty bothersome effects when, for instance, the bean
preserves visual state or the user would like two instances of the same
form, or would like to login into a site under different user names, etc.



To really have two sessions you can do one or a combination of
the following:

1) Use urls to manage session state rather than cookies

2) Install two browsers (that's what I do for testing since its
best to test with IE and Netscape anyway)




Do you really need two sessions per browser? Perhaps you could
put a random identifer in each newly created page and have a single bean
manage info between the pages.



Hope that helps,
netrev