Response.Redirect "loading.asp?

Discussion in 'Software' started by be0, Jan 29, 2008.

  1. be0

    be0 Corporal

    Hello everyone,

    I would like to use
    Response.Redirect "loading.asp?o=" & session("SPECIFIC_ORDER") command in my asp webpage. However before it actually redirects I would like the page to display
    "Loading please wait" or something like that. How do I do this. I inserted the code before my redirect command however it does not refres the page and it does not display even after I created a whole new webpage that displays this data and then does another redirect to the actual asp data display webpage.

    Please help.

    Thanks...

     
  2. be0

    be0 Corporal

    I guess i'll just answer my own question.
    Cant do it in VBScript but you can in Java.

    Here is the code and the call:

    sub callJS2(action)
    response.Write(
    "<script language=""javascript"">" & vbcrlf)
    response.Write(
    ""& action &"" & vbcrlf)
    response.Write(
    "</script>" & vbcrlf)
    endsub

    Here is the call:

    call callJS2("setTimeout('window.location=""../aztek/az_ordertracking.asp?o=" & session("SPECIFIC_ORDER") & """',500);")
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds