-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
This is probably technically possible... but don't expect your
performance to be that great.
Khoivu Nguyen wrote:
>
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> I am very interested in this problem's solution since I have a business need
> to share the HTTPSession between 2 virtual hosts or two servlet zones. I
> believe the second problem may not be feasible by Apache JServe design.
>
> One solution is before you invoke response.sendRedirect() method, you save
> the HTTPSession to database or file. If HTTPSession is serializable, which I
> think it is, we can serialize HTTPSession and save it as a blob in database.
>
> Chris McCarthy wrote:
>
> > -----------------------------
> > Please read the FAQ!
> > <http://java.apache.org/faq/>
> > -----------------------------
> >
> > I want to share HttpSession information between 2 Virtual Hosts. Can
> > this be done, or do I have to use an alternative method of communication
> > ?. I tried it, with a servlet on both virtual hosts but the session was
> > not shared.
> >
> > It is for online payment, I want to do a response.sendRedirect() to my
> > secure (Virtual) server for online payment, so two way comminication is
> > required. I know it would be easier to run the secure server on the same
> > host as my servlets, but this is done for business reasons.
> >
> > Any help appreciated,
> > ..Chris.
> >
> > --
> > --------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Archives and Other: <http://java.apache.org/main/mail.html>
> > Problems?: [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
Kevin A Burton
Software Engineer
http://relativity.yi.org
Mobile: 408-910-6145
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]