This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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..
I agree. Here's the link:
subject: Losing cookie value
Similar Threads
differences between javascript, J2EE, JSP etc.
regarding cookies
retaining value in java script
cookie questions
Deleting a Cookie