Re: different sessions in multiple window.open

Eric Noriega <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Organization The George Washington University, Department of Computer Science
Message-ID <[email protected]>
    Short answer: no.
    Long answer: The sessions tend to use cookies, which are global to
all windows in most, but not all browsers.  If you use only URL
rewriting (I think you can force this, anybody?) you might be able to
create a second session.  My take is that the design is probably not in
line with what the technology offers, and might be more trouble than
it's worth.

Agarwal, Shailesh wrote:

>The scenario is like this.
>
>I have an html page which contains two links both pointing to the same URL.
>These links open the URL in new windows.
>
>At this URL are hosted some servlets which process the requests. The
>requests go through an authentication filter , if it is the request for the
>home page ( the link specified in the html page mentioned above).
>Authentication filter checks whether the request is attached to any session
>by checking on a session attribute. If the attribute is not found, filter
>will pass the request through an authentication routine otherwise let it
>skip that.
>
>The problem is that when I click on the first link on the html page, the
>control passes through authentication routine. But if I let this window open
>and click on the second link , the request detects the existing session
>created in the first window and the authentication routine is skipped. Is
>there any way, I can create a new session here for authentication purpose
>and not use the existing one.
>
>Thanks,
>shailesh
>
>
>------ Lex Vehicle Leasing -------
>
>Opinions expressed in this e-mail are those of the individual, not the company unless specifically indicated to that effect. This e-mail and any attachments are confidential and solely for the use of the intended recipient. If you are not the intended recipient we apologise for any inconvenience. Please return to the sender. Any use or copying is strictly prohibited.
>LVL may intercept any email or other communication that you send to or receive from them via the company's telecommunication systems.  By so corresponding you also give your consent to LVL monitoring and recording of any correspondence using these systems.
>
>
>
>********************************************************************
>Lex Vehicle Leasing is the proud winner of:
>
>Fleet Excellence Award for Best Contract Hire company 2003
>Fleet Excellence Award for Best Service Supplier 2003
>What Van? Fleet Award for Best Van Leasing and Contract Hire company 2002
>
>Lex FreeChoice was awarded PCP Scheme of the Year 2002 from Institute of Transport Management.
>
>For full details of these awards please visit www.lvl.co.uk
>********************************************************************
>
>___________________________________________________________________________
>To unsubscribe, send email to [email protected] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.