943,775 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 907
  • ASP.NET RSS
Jul 6th, 2009
0

Is Session data getting overwritten?

Expand Post »
Hi there,

Is it possible that two user's use same application with different computers and somehow one's session data getting overwritten with others?

I am not having any code error anywhere but somehow one's data getting overwritten with others.

Please help me because I am trying to solve this error since from two days but not success.

There is use of 'Request.Form' in code. Is it forcing session to overwrite?

Thanks in advance.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
desaiva is offline Offline
3 posts
since Jul 2009
Jul 6th, 2009
0

Re: Is Session data getting overwritten?

Request.Form will not force to ovrewrite the session.

Have you identified where the session data is overwritted in your code?

If yes, post that code so that somebody can suggest a solution.
Reputation Points: 165
Solved Threads: 113
Posting Pro
Ramesh S is offline Offline
580 posts
since Jun 2009
Jul 6th, 2009
0

Re: Is Session data getting overwritten?

Actually we are providing session for requestID. Based on requestID we can fetch data for particular request. Somehow it has copied data of one request from one user to the request of differant user.

We didn't get any code error for sure so we came to the conclusion that after displaying one request 'A' when we click on save it would have been taken different requestID 'B' (if session overwriting happens) and fetch data of that requestid and saved for requestID 'A'.
We are not sure session overwriting happens or not?

One more possibility there, while clicking on 'Save' button, there 'Request.Form' has been used to store new values and it replace new values with old values for updation.

collReqVariables = Request.Form

collReqVariables is NameValueCollection.

Does it causing problem? Does request.form is taking other user's data for update existing request?

Code is little tricky and dependent on other files so not useful to post.

Thanks.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
desaiva is offline Offline
3 posts
since Jul 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Get data from database and display in the appropriate format.
Next Thread in ASP.NET Forum Timeline: Select/Deselect All CheckBoxes Inside the GridView





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC