Re: Clearing form on back

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 09/24/04


Date: Fri, 24 Sep 2004 10:37:13 GMT

On 24 Sep 2004 01:52:15 -0700, jacek@mtmstyl.pl (Jacek) wrote:

>Hi.
>I have some problem. Im not sure if this is problem with asp or maybe
>with iis.
>I have a form like this - file (file1.asp)
><HTML>
><HEAD>
><TITLE> New Document </TITLE>
></HEAD>
><BODY>
><form name="form1" method="POST" action="file2.asp">
><input type="text">
><input type="Submit" value="Send" onclick="window.open ('test.html')">
></form>
></BODY>
></HTML>
>All fields are sent to file2.asp. On sending you open some window -
>test.html.
>This window closes automatically. When you send data and are
>redirected to file2.asp and doing "back" to go back to file1.asp the
>form is cleared.
>I discover that input field in file1.asp when going back from
>file2.asp is not clear when file1 extension is htm or i dont open any
>window on submitting data.
>This effect is in ie, mozilla and opera keeping data in form when
>going back. Maybe i should change something in properties of ie or
>iis?

Do you wish the form cleared or not? If not, you'll have to post back
to the form to retain the informartion, otherwise your ASP code is
setting up the page from scratch again.

Jeff



Relevant Pages

  • Re: Website locks up when viewing certificate in IIS 5.
    ... > You mean to tell me all your .asp pages pop right up while ... > you have this View Certificate window open? ... > I just installed a whole new web site with a certificate I ... > person tell me it is a bug with IIS 5, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Website will not startup.
    ... What version of IIS are you running? ... C:\inetpub\wwwroot when creating the site) and create an asp page there. ... test site in the left window, you should see this new asp page in the right ... Microsoft Developer Support ...
    (microsoft.public.inetserver.iis)
  • Re: a thumbnail pop-up showing the full size picture
    ... If you are using ASP, etc. to get the image size to then resize the window, then you loose the ... >> var parentwin = external.menuArguments; ... Following FP thumbnail directions, ...
    (microsoft.public.frontpage.client)
  • Re: Website locks up when viewing certificate in IIS 5.
    ... Regards, ... >> you have this View Certificate window open? ... >> this site, and try to pull up any .asp page, regardless ...
    (microsoft.public.inetserver.iis.security)
  • Re: ASP vbscript to run a program. Program does not terminate
    ... but if the program creates a window (console or GUI) ... > I would search www.aspfaq.com to see if that expert site has more ... >> I have an ASP web page that uses vbscript to start a program. ...
    (microsoft.public.scripting.vbscript)