Is Session data getting overwritten?

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2009
Posts: 3
Reputation: desaiva is an unknown quantity at this point 
Solved Threads: 0
desaiva desaiva is offline Offline
Newbie Poster

Is Session data getting overwritten?

 
0
  #1
Jul 6th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 427
Reputation: Ramesh S will become famous soon enough Ramesh S will become famous soon enough 
Solved Threads: 81
Ramesh S Ramesh S is offline Offline
Posting Pro in Training

Re: Is Session data getting overwritten?

 
0
  #2
Jul 6th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 3
Reputation: desaiva is an unknown quantity at this point 
Solved Threads: 0
desaiva desaiva is offline Offline
Newbie Poster

Re: Is Session data getting overwritten?

 
0
  #3
Jul 6th, 2009
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.
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