Setting a cookie client-side / javascript and getting its value server-side /jsp with weblogic problem.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Carl_Yestrau
Posted On:   Thursday, December 13, 2001 10:12 AM

I'm unable to set a client-side javascript) cookie and retrieve it in a later server-side request (jsp) using weblogic. Any incite greatly appreciated. And if you are wondering why I'm setting the cookie client-side it is to eliminate any cache problems as setting cookies on the server-side would be already cached (ie., user clicks the back button).

Re: Setting a cookie client-side / javascript and getting its value server-side /jsp with weblogic problem.

Posted By:   Erik_Runia  
Posted On:   Friday, December 14, 2001 10:59 AM

Cookies are domain dependent.. ie if you set them from blah.com client side, and your server is running on foo.com.. it will not be able to read the cookies set by blah.com...

Be sure that the domain setting the cookies is the same domain invoking the servlet...
About | Sitemap | Contact