• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session corruption........  RSS feed

Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai All!

Here is my problem... I have a form ..If i click submit button in that form request is generated and it is processed by server side component. This process includes reading and modifying an object stored in the session object. Problem is when user clicked submit times multiple times (quickly) some 3to 4 requests are generated and all requests is trying to modify object stored in session object and object is getting corrupted.
I need some solution this.. I don't want to disable submit button as i have some GUI desing restrictions. Also i don't want to use synchronize blocks as they tend to slow the program..What i need is some sort of terminating those extra requests generated. Is it possible to do so? if so how can we accomplish this and what are side affects of this?
If only solution is going to Synchronize blocks then pls suggest how best we can do it as the server compoent under consideration cannot be afford to be slowed down due to some real time considerations..
Any suggestions are most welcome..
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!