aspose file tools
The moose likes Servlets and the fly likes Problem with cookie Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Problem with cookie" Watch "Problem with cookie" New topic
Author

Problem with cookie

George Smith
Greenhorn

Joined: Aug 10, 2005
Posts: 3
Hi
I have a problem with my application.
i have a right side html menu, and the links invokes java servlets.
when i press the menu link (any link) at the first time, the cookie doesn't send to the servlet.
but if i press again this menu link, the cookie from now and on send to the servlet.
I'm using Oracle OAS 4.0.
what can be the problem ?
Thanks !
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
Didn't understand your problem very well.
I'd say that in your case, you want the servlet to sendo the cookie to the browser, no?


Leandro Melo <br />SCJP 1.4, SCWCD 1.4<br /><a href="http://www.pazbrasil.org/" target="_blank" rel="nofollow">http://www.pazbrasil.org/</a>
Daniel Rhoades
Ranch Hand

Joined: Jun 30, 2004
Posts: 186
What are you using the cookies for? Are you using the HttpSession API to manage your session data?


Drinking more tea is the key...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem with cookie
 
Similar Threads
problem with cookies and OAS 4.0
Accessing Cookie
JSP - How to get the current URL?
Problem with session
Problem with cookies and oas 4.0