ASP - Loading Another Page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to load another page if a condition is met e.g. If error ==1
then (load some page)
Can anyone supply the correct syntax ? Thanks for any replies.
 
<% if error=1 then response.redirect("otherpage.asp") else
response.write("dope slap") %>
 
<slap>

</slap>

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| <% if error=1 then response.redirect("otherpage.asp") else
| response.write("dope slap") %>
|
| --
| Murray
| ============
|
| | >I would like to load another page if a condition is met e.g. If error ==1
| > then (load some page)
| > Can anyone supply the correct syntax ? Thanks for any replies.
|
|
 
Back
Top