Response.Redirect in .htm pages

Results 1 to 3 of 3

Thread: Response.Redirect in .htm pages

  1. #1
    Join Date
    Dec 1969

    Default Response.Redirect in .htm pages

    I need to redirect the user from page1.htm to page2.htm. As I know, this can be done using the the "Response.Redirect object", which works fine for .asp pages. But how do I use the same in a .htm page. Someone please throw some light on the same.<BR><BR>Thanks,<BR>Raghu

  2. #2
    Join Date
    Dec 1969

    Default you need Javascript....

    and you also need an event to trigger this....<BR><BR>so, I&#039;ll create an event which will bring you to another page..<BR><BR><BR>&#060;input type="button" onClick="window.location=&#039;;;" value="Go To Google"&#062;<BR><BR>You can replace google with whatever page you want, say, page2.htm.<BR><BR>-Vadim C.

  3. #3
    Join Date
    Dec 1969

    Default "HTM" is not ASP

    You can&#039;t perform any asp on an HTM file (unless you change the configuration of your web server). This means that you can&#039;t run any server side scripts. If you want to redirect the user, you need to use javascript or the meta refresh tags. Do a search on Google fi you don&#039;t know how.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts