Its really a trivial architecture. Anyway the best solution in my view could be that 
you pass the cookie data to your intermediate servlet like you passing other 
parameters and let the servlet set the cookie on to users system.

> -----Original Message-----
> From: Suresh [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 03, 2001 1:53 PM
> To:   [EMAIL PROTECTED]
> Subject:      Passing Cookies from CGI to Servlet
>
> Hi
>
> I got the following problem. If you have any idea please help me!
>
> Thanks
> Soumendu
>
> Between my browser and CGI(Perl) I have a servlet as a go-between. (I have
> no reason to explain as
> to why the architecture is such). The servlet simply takes data from
> browser and passes it on to the
> CGI and
> the reverse. The servlet is basically a gateway between the browser and
> the CGI. The first time I
> submit I create a cookie in the CGI and this cookie has to be passed to
> the browser via the servlet.
> Except for the
> Cookie information I have been able to get all other information to and
> from servlet. Now, I have
> found no method that would actually receive the cookie from the CGI into
> the servlet. Please donot
> tell me that
> the method is getCookie (for it gets cookie from browser). Can someone
> enlighten me on this?
>
> __________________________________________________________________________
> _
> 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

Thanks & Regards
Bhushan Bhangale
Consultant
http://www.netacross.com
Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.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