Session Lost on JSP Page

Reply

Join Date: Jan 2009
Posts: 2
Reputation: proloyganguly is an unknown quantity at this point 
Solved Threads: 0
proloyganguly proloyganguly is offline Offline
Newbie Poster

Session Lost on JSP Page

 
0
  #1
Jan 14th, 2009
I'm facing a problem in our application. In application we are using JSP and Java Beans.
Some data are not saving properly according to session. Suppose, User 1 has been logged on.
Some field values of user1 has been set in a session within the JSP page . When we are going
to save the attributes , some values of attributes are coming from another session like from the
session of user2.
On the JSP page we are using the implicit session object. But at the runtime the session object is changing.
It's not happening all time. It's happening sometimes. If we insert data for 30 times, it's happing 2 or 3 times.
So I cannot detecting the problem.

Please help me ASAP
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,217
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 489
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Session Lost on JSP Page

 
0
  #2
Jan 14th, 2009
Neither we can detect any problem as you failed to provide your code...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: Session Lost on JSP Page

 
0
  #3
Jan 14th, 2009
Originally Posted by peter_budo View Post
Neither we can detect any problem as you failed to provide your code...

What kind of moderator are you ??? You can easily use your crystal ball to pin point the problem
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 2
Reputation: proloyganguly is an unknown quantity at this point 
Solved Threads: 0
proloyganguly proloyganguly is offline Offline
Newbie Poster

Re: Session Lost on JSP Page

 
0
  #4
Jan 15th, 2009
Originally Posted by stephen84s View Post
What kind of moderator are you ??? You can easily use your crystal ball to pin point the problem

Hi stephen,
This a very unusual problem for me. When we pass the data to save it into database through session, then the some data are lossing. So that, data from another session is coming to save to database. I dnt know how is it possible??????
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,217
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 489
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Session Lost on JSP Page

 
0
  #5
Jan 15th, 2009
Originally Posted by proloyganguly View Post
Hi stephen,
This a very unusual problem for me. When we pass the data to save it into database through session, then the some data are lossing. So that, data from another session is coming to save to database. I dnt know how is it possible??????
Please provide code, we are not able to work without it!
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: Session Lost on JSP Page

 
0
  #6
Jan 15th, 2009
Originally Posted by proloyganguly View Post
Hi stephen,
This a very unusual problem for me. When we pass the data to save it into database through session, then the some data are lossing. So that, data from another session is coming to save to database. I dnt know how is it possible??????

*Sighs* I guess he could neither understand you nor my taunt directed at him
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC