• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 131
  • Last Modified:

Storing Information more than Once after Submit for Sometimes

Hi All,
  I had developed a site for capturing daily activity. In that for sometimes the data is storing more than once for a single click. Any one will help me...'''

Thanks IN Advance...
0
vkarun1
Asked:
vkarun1
  • 2
1 Solution
 
DreamsTechCommented:
I will request you to provide a bit more details of the issue.

For mean while ,do u have any update panels in ur page ,which is causing to initiate post back conditionally,
and reposting the data.

0
 
vkarun1Author Commented:
Hi,
Thanks for u Response. But I did not used any Panel. But I got that if the user clickes on F5 or Refresh Button then the information is storing once again. How to restrict him from Refreshing the page in Multipletags of IE7
0
 
DreamsTechCommented:
its a property of IE and Client Server cycle;you might have noticed that ,many web apps warns you of reposting the data if you press F5,as it repeats the previous request ,and there is no custom programming for it but its a IE or any browser property.

To avoid that ,in extreme cases ,you can disable refresh on screen or check in DB for duplicate request and return a error msg saying ,about duplication of result.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now