A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to set cookie in root domain?
Joined: Jan 22, 2004
Dec 18, 2009 13:35:13
Does anyone know how do I would get my
to set a cookie with a path value = "/" instead of the usual path = "/mywebapp/" ?
Joined: Dec 18, 2008
Dec 18, 2009 21:40:01
Use cookie.setPath method.
For more detail refer this class
Java Best Practices
Linux Best Practices
I agree. Here's the link:
subject: How to set cookie in root domain?
Multiple Cookies with the name 'JSESSIONID' getting created
Troubles with cookies in JSF
jsf problem , java.lang.RuntimeException: Cannot find FacesContext error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013