Advertisement

05.21.2008 at 11:25AM PDT, ID: 23421966 | Points: 500
[x]
Attachment Details

Redirect to another asp page after file download

Asked by tejashvini in Active Server Pages (ASP), HTMLkit

Tags: ,

I have a page that has the below code
Dim strAccountTypeID
Select Case Request.QueryString("Func")
      Case "GetFormsData"
        If (( Request.QueryString("source") = "opennewacct" ) And ( Request.QueryString("SelectedAccNumber") <> 0 )) Then
            XMLString=GetFormsData(Request.QueryString("SelectedForms"),Request.QueryString("SelectedAccNumber"),Request.QueryString("SelectedAccType"),Request.QueryString("SelectedAdvisor"))
            Set xml_doc = CreateObject("Microsoft.XMLDOM")
            xml_doc.async = False
            xml_doc.loadXML(XMLString)
       
            Set Root = xml_doc.documentElement
            Set NodeList = Root.getElementsByTagName("ClientNumber")
     
            For Each Elem In NodeList
                Set Text = Elem.firstChild
                Text.replaceData 0, 9, ""
                Response.ContentType = "application/x-~ls"
                Response.write xml_doc.XML
            Next
        ElseIf (Request.QueryString("SelectedAccType") = "GetAccountType") Then
            strAccountTypeID = GetAccountTypeID(Request.QueryString("SelectedForms"),Request.QueryString("SelectedAccNumber"))
            Response.ContentType = "application/x-~ls"                        
            Response.Write GetFormsData(Request.QueryString("SelectedForms"),Request.QueryString("SelectedAccNumber"),strAccountTypeID,Request.QueryString("SelectedAdvisor"))  
        Else
            Response.ContentType = "application/x-~ls"
            Response.Write GetFormsData(Request.QueryString("SelectedForms"),Request.QueryString("SelectedAccNumber"),Request.QueryString("SelectedAccType"),Request.QueryString("SelectedAdvisor"))  
        End If
    Case "GetFormGUID"
            Response.Write (GetFormGUID(Request.QueryString("SelectedForms")))
      Case Else
            Response.Write ""
End Select
Response.Flush()
Response.End

I want to redirect to welcome.asp in the background while file is downloaded by the clientStart Free Trial
[+][-]05.21.2008 at 01:18PM PDT, ID: 21618681

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 10:30AM PDT, ID: 21625839

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 11:29AM PDT, ID: 21626328

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.24.2008 at 11:26AM PDT, ID: 21639891

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 06:51AM PDT, ID: 21651843

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628