Hi Guys,
I have "duplicate ID insertion when user refreshes page" problem.
I looked and looked but can't find a quick fix (response.redirect to the page again is just
not an option,...want to keep the UI without flickering controls ..ajax used here) nor do I
want to add new columsn to the database.
page.IsPostback does not solve the issue either, since it is not a postback we are dealing with here.
I just wonder how the brwoser "refresh" triggers my button1.click sub in the first place - since
the button is not clicked. I guess the http header somehow has the click event in it.
Is there a, easy (vb.net) way to detect "refresh" and avoid the instertion.
i read the following "One way would be to use AJAX and call a web service / page method to handle the insert. "
Any suggestions how that would work?
...
Go to the complete details ...