| Author |
Problem with cookies and oas 4.0
|
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 !
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
Moving to the servlets forum...
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
D Rog
Ranch Hand
Joined: Feb 07, 2004
Posts: 471
|
|
|
The behaivor is expectable. A browser haven't received any cookies from your servlet, so won't send anything back until gets something. When you clicked first time, your servlet sent a cookie to browser and no it will send it back.
|
Get power of your iPod with MediaChest | Minimal J2EE container is here | Light weight full J2EE stack | My blog | Co-author of "Windows programming in Turbo Pascal"
|
 |
 |
|
|
subject: Problem with cookies and oas 4.0
|
|
|