Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Clear Request.Form

Reply
Thread Tools

Clear Request.Form

 
 
Kittie
Guest
Posts: n/a
 
      05-31-2006

Hello,

I'm pretty new to web programming and i'm facing an issue.
Hope someone can help!

I have a LinkButton in a form and when i click on it, it posts back to
the page. The problem i want to resolve is that if i refresh the page,
i get this annoying POSTDATA message dialog that ask for data resending
or not.
I assumed that this was caused by the values contained in the
Request.Form collection. Is there a way to clear the values (as it is
read only) after having processed the events ?
Or maybe a better workaround ?

Thanks for your help!

 
Reply With Quote
 
 
 
 
Karl Seguin [MVP]
Guest
Posts: n/a
 
      05-31-2006
This is a browser behaviour and there's nothing you can do on your end to
solve the problem. even if you could clear the Form collection, all IE would
know is that in order to properly "refresh" the page, the data it sent the
1st time around needs to be resent. Asking for the user's confirmation is
small security check.

Karl

--
http://www.openmymind.net/



"Kittie" <> wrote in message
news: oups.com...
>
> Hello,
>
> I'm pretty new to web programming and i'm facing an issue.
> Hope someone can help!
>
> I have a LinkButton in a form and when i click on it, it posts back to
> the page. The problem i want to resolve is that if i refresh the page,
> i get this annoying POSTDATA message dialog that ask for data resending
> or not.
> I assumed that this was caused by the values contained in the
> Request.Form collection. Is there a way to clear the values (as it is
> read only) after having processed the events ?
> Or maybe a better workaround ?
>
> Thanks for your help!
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox - Clear History? Paull Firefox 7 08-24-2012 04:49 PM
Response.Clear() doesn't clear David ASP .Net 2 01-31-2008 08:32 PM
Unrecognized element 'add' after <clear></clear> InvalidLastName ASP .Net Web Services 3 03-06-2007 03:07 AM
Pay after confirmation(we clear ur microsoft and cisco exams)100% passing gaurantee vinayji Wireless Networking 0 09-08-2005 08:18 AM
How Do I Clear search items? Wabby Wabusha Firefox 1 10-26-2004 08:36 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57