PeOfEo
01-11-2004, 06:32 PM
hey anyone know how to get rid of a post data alert in asp.net when someone refreshes a page? I want the page load events to fire again, like they are supposed to, without the message.
|
Click to See Complete Forum and Search --> : post data PeOfEo 01-11-2004, 06:32 PM hey anyone know how to get rid of a post data alert in asp.net when someone refreshes a page? I want the page load events to fire again, like they are supposed to, without the message. pyro 01-11-2004, 08:42 PM I think it's mainly a browser security thing, but depending on what you need it for, you may be able to simply redirect the page to itself, after the form has been submitted. As you know, I don't know any ASP, but if you think it would help you, I can give you a bit of demo code in PHP... ;) PeOfEo 01-11-2004, 08:46 PM good idea, I wasthinking I could maybe use if not page.ispostback in some way, the problem with a redirect is I have the same form on every page with an include, so I would have to redirect to the page by use of the url server variable, but I will keep that in mind. pyro 01-11-2004, 08:52 PM Yes, it's one of the few ways I can think of getting around it. It won't work in all situations, but hopefully it (or something similar) will do what you need. :) PeOfEo 01-11-2004, 08:57 PM well I am fine right now, so long as people do not refresh the page. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |