Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pause This Message 1

Status
Not open for further replies.

dvannoy

MIS
Joined
May 4, 2001
Messages
2,765
Location
US
can someone let me know how to pause before the Response.Redirect? with the below code, it will not display the message box.it goes straight to the redirect.

Thanks in advance

Response.Write("<script language='javascript'>alert" _
& "('Your Account Has Been Created..')<" & "/" & "script>")
Response.Redirect("Welcome.aspx")

 
Response.Write("<script language='javascript'>alert" _
& "('Your Account Has Been Created..'); document.location.href='Welcome.aspx';<" & "/" & "script>")
 
I would consider using a "holding" page that shows a message then redirects (can be done lots of ways including a simply meta tag). This way you won't confuse the user if they have javascript turned off...

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top