Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Redirection question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00821930
Message ID:
00821953
Vues:
21
Hi Rick,

I may be wrong, but it seems to me that you are messing two different methods. If you use "POST" method, you should use Form collection, if you're using "GET" method, you should use QueryString. What is the problem?

>I'm new to ASP and I'm having a problem with redirection.
>
>On "page3.asp", I have a form and it's post action has a querystring that contains information for subsequent pages to use to jump back to "page3.asp".
>
><FORM ID="frmRDCST3" NAME="frmRDCST3" ACTION="page5.asp?redirect=page3.asp" METHOD="post">
>
>
>On "page5.asp", I validate the data from "page3.asp" and either redirect back to "page3"
>
>Response.Redirect(Request.QueryString("redirect"))
>
>
>or jump to "page6"
>
>Response.Redirect("page6.asp?reason=at+least+one+field+is+NULL&redirect=page3.asp")
>
>
>What I'd like to do, what I'm having trouble with,
>is to pass the QueryString("redirect") thru to "page6.asp",
>rather than hardcoding it as it is now.
>
>When I try
>
>Response.Redirect("page6.asp?reason=at+least+one+field+is+NULL&redirect=Request.QueryString(\"redirect\")")
>
>
>I get an error
>
>Error Type:
>Microsoft VBScript compilation (0x800A03EE)
>Expected ')'
>/rick/RDC_f_cookie_session_table5.asp, line 37, column 132
>
>
>what am I doing wrong?
>or, better yet,
>how do I get it to work?
>
>TIA,
>Rick
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform