Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session Attribute's value getting changed

 
Utkal Keshari
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my ADD.jsp page I am setting the Date and time in session attribute .
There are two another pages in which i am getting the date and time .







In my view page If I click refresh then I got the same value. But if I close the page and view it from my menu then new time is given.While I am opening the page from my menu I never hit my ADD.jsp page But still then date and time value is changed .

Please Help me to solve the problem
[ August 03, 2006: Message edited by: Bear Bibeault ]
 
Ajit Roy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Utkal,

Definetely your session object has got changed. By looking at the above i am not able to figure out the exact flow of your application.

Are you modfying the session object somwhere else or your Add.jsp is called in between. Hopefully this will help in tracing the problem.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64975
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Utkal Utkal",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic