| | |
Session Lost on JSP Page
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
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
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
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
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
"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 ?"
"How to ask questions the smart way ?"
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
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??????
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
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
•
•
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 ?"
"How to ask questions the smart way ?"
![]() |
Similar Threads
- values lost on navigetion to next page and back (JSP)
- Pleeeeeeeese help me (JSP)
- Problem with database connection (JSP)
Other Threads in the JSP Forum
- Previous Thread: Handling checkbox selection
- Next Thread: JSp Program to retrive Data from Database
| Thread Tools | Search this Thread |
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






