Hi Jason,

Thanks very much for your reply, and I've tried using cookie as well.  Unfortunately 
the implementation of HttpSession is based on cookie as well.  So if HttpSession 
doesn't work in my case, the Cookie class failes as well.  I've ended up rewriting 
url...

Cheers. Anson

"A mailing list for discussion about Sun Microsystem's Java               Servlet API 
Technology." <[EMAIL PROTECTED]> wrote:
>
> I never done this before, just some thoughts.
> maybe you can try save the session information into the cookie so that
> asp and the new servlet can pick them up.
>
>
> -----Original Message-----
> From: Anson To [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 30, 2001 9:07 PM
> To: [EMAIL PROTECTED]
> Subject: Sharing HttpSession between servlets
>
>
> Hi all,
>
> I've got a problem of sharing HttpSession between servlets.  Basically I've
> several servlets as my application.  It works fine and the session can be
> caught in each servlet throughout the application.
>
> Now I wanna add another servlet to the existing application.  However, the
> challengence is that there is a page (an ASP to be exact) sitting between
> this new servlet and the existing servlets.  The problem is that session now
> cannot be caught after the ASP so I can't retrieve those variables by
> "HttpSession.getAttribute()", which have been shared with
> "HttpSession.setAttribute()" in the existing application.
>
> I would really appreciate if you can give me some hints as I'm in a tight
> schedule.  Many thanks in advance.
>
> Anson
> --
> Sincerely yours, Anson
--
Sincerely yours, Anson


__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.com/

___________________________________________________________________________
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

Reply via email to