Unable to access Cookie in JSP
1 posts in topic
Flat View  Flat View

Posted By:   sunitha_jayakumar
Posted On:   Monday, October 17, 2005 06:36 AM

I have a website hosted on iisserver.
A link within the site loads a JSP deployed on tomcat within a html frame.
My problem is that I am unable to set a Cookie in my JSP in order to retain a textbox value. The cookie code is written in javascript within JSP.

The cookie name is written but the corresponding value is not retained.

Is this an issue of clashing servers(iis and tomcat) that is hosting the site.

Any pointers??

Re: Unable to access Cookie in JSP

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, October 29, 2005 05:52 PM

the domains have to be the same, to share the cookie across different URL's.
About | Sitemap | Contact