well, one alternative might be : To use ServletContext.getContext(...)
if cross-context is supported by your server.

In your case, you can enable this feature by using
<Context>...crossContext="true"...</Context> in server.xml

After enabling, you need to share the data via ServletContext instead
HttpSession.

HTH
John

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of manjunath
Sent: Saturday, June 21, 2003 1:45 PM
To: [EMAIL PROTECTED]
Subject: Re: Session not accessible


session communication between cross context is not allowed . this by design.
An ISP hosting jsp site will different context for different customers.
these sessions should NOT communicate.
In this case for authenticating to different contexts at single log on , use
third party authentication like LDAP server or ADSI in case of windows.

If anyone knows better alternative please post the same

thanks
-mvb


---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to