Javascript/ASP redirect

Results 1 to 4 of 4

Thread: Javascript/ASP redirect

  1. #1
    risci Guest

    Default Javascript/ASP redirect

    I want to be able to redirect a client back to a previous page after a succesfull form update. My options are to use -<BR><BR>&#060;script language="javascript"&#062;<BR>alert("Your Personal Information change was updated successfully!");<BR>{<BR>window.location="Individu alSubscriberHome.asp"<BR>}<BR>&#060;/script&#062;<BR><BR>The above example is prone to error in IE 4, or I could use another dirivitive of the window hierarchy the history object -<BR><BR>window.history.go(-1)<BR><BR>But it too is reported to be buggy in IE 3.<BR><BR>Does anybody have an ASP solution?

  2. #2
    f Guest

    Default RE: Javascript/ASP redirect

    yeah<BR>&#060;% Page = "mainpage.asp" %&#062;<BR><BR>&#060;% Response.Redirect (Page) %&#062;

  3. #3
    risci Guest

    Default RE: Javascript/ASP redirect

    I have not seen this kind of approach before? If we were to do this Why not just use Response.Buffer="True" at the top of the page so that we can use a regular old Response.Redirect instead of preparing a variable to use in the Response.Redirect?<BR><BR>Also how can I also give them an updated message that the change made was sucessful?<BR><BR>Thanks much -

  4. #4
    Join Date
    Dec 1969

    Default RE: Javascript/ASP redirect

    Have a look at the thread " pop-up feedback on submitting a form "

Posting Permissions

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