Tomcat 4 allows for single sign on between web apps via its 
"SingleSignOn" Valve.

There is a JBoss-2.4.3_Tomcat-4.0 bundle: 
http://sourceforge.net/project/showfiles.php?group_id=22866

--

Sundaram Ramasamy wrote:

>  Hi,
> 
> I want to share information between two web application.
> 
> Is there a way for this.!!!
> 
> I tried with servlet context also. Still its not working. I am getting the
> null value.
> 
> For More Info about the problem.
> ------------------------------------
> 
> 
> Different Web applications hosted on the same container do not share the
> clients' session
> information. That is, if you have two Web applications deployed on the same
> container, servlets in both applications "see" two different sessions for
> the same client. This is a marked difference from the old servlet model in
> which a container (a.k.a., "servlet engine") can establish only one client
> session. You now need to implement more ingenious ways to share data between
> your Web applications.
> 
> http://www.allaire.com/handlers/index.cfm?ID=18434
> 
> 
> How will i make only one session id for same client???
> 
> ----- Original Message -----
> From: "Nicholas" <[EMAIL PROTECTED]>
> To: "Sundaram Ramasamy" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 20, 2001 12:21 PM
> Subject: Re: [JBoss-user] passing value between applications
> 
> 
> 
>>Use the servlet context instead of the session.
>>
>>//Nicholas
>>
>>
>>--- Sundaram Ramasamy <[EMAIL PROTECTED]> wrote:
>>
>>> Hi,
>>>
>>>I have deployed two  .ear files ( employee.ear and
>>>funnel.ear ) into
>>>jboss-tomcat.   I want to pass the value between two
>>>application.
>>>
>>>using session scope store value  in one application
>>>trying to retrive
>>>another applcation, but i am getting different
>>>session id.
>>>
>>>Is there any other way i can pass the value between
>>>applications.
>>>
>>>-SR
>>>
>>>--code to set ( sset.jsp )
>>><%@ page language="java" import="java.io.*"%>
>>><html>
>>><head>
>>> <title>Set Session</title>
>>></head>
>>>
>>><body>
>>>
>>><%
>>> session.setAttribute("name", "Sundaram Ramasamy");
>>>
>>>%>
>>>
>>>Session id : <%= session.getId() %>
>>><br>
>>><a href="http://localhost/funnel/sget.jsp";>Click
>>>Here to get</a>
>>>
>>></body>
>>></html>
>>>
>>>--- code to get ( sget.jsp )
>>>
>>> <%@ page language="java" import="java.io.*"%>
>>><html>
>>><head>
>>> <title>get Session</title>
>>></head>
>>>
>>><body>
>>>
>>><%
>>> String name = (String)session.getAttribute("name");
>>>
>>>%>
>>>
>>>Session id : <%= session.getId() %>
>>>
>>><br>
>>>
>>>Name : <%= name %>
>>>
>>>
>>></body>
>>></html>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>JBoss-user mailing list
>>>[EMAIL PROTECTED]
>>>
>>>
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
>>=====
>>Nicholas Whitehead
>>Home: (973) 377 9335
>>Cell: (201) 615 2716
>>Work(@ JP Morgan): (212) 235 5783
>>[EMAIL PROTECTED]
>>
>>___________
>>
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to