The moose likes Struts and the fly likes Losing cookie value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Losing cookie value" Watch "Losing cookie value" New topic

Losing cookie value

Bryan Comstock

Joined: Mar 01, 2007
Posts: 5
I'm developing a JSP/PHP integrated web application. On both sides, I am using a layout template class to render the site's layout. The problem I'm having is that I've got top naviation and side navigation that need to maintain state (i.e. highlight the section currently being viewed). I'm attempting to use a cookie to do so, and it seems that the PHP side recognizes the cookie set on the JSP side and can modify the value, but the cookie on the JSP side does not retain any values set by the PHP side. Does anyone have any ideas what may be going on? Thanks in advance.
Bryan Comstock

Joined: Mar 01, 2007
Posts: 5
Nevermind.. I figured it out.. It was an ID10T error..
jQuery in Action, 2nd edition
subject: Losing cookie value
Similar Threads
Deleting a Cookie
cookie questions
retaining value in java script
differences between javascript, J2EE, JSP etc.
regarding cookies