Ask a Question related to ASP, Design and Development.
-
Calvin #1
Problem with redirection in a Form...
Hi,
Envronment: IIS 5 on W2k sp3
Problem: I'm using a Form and when Submitted, will display
a confirmation page. The confirmation page is simply a
Form with an OK button. I want the browser to display
either [1] the first form OR [2] to another page and I
couldn't do either.
Here's what I have problem with:
For [2], I got the error
HTTP 405 - Resource not allowed
Internet Information Services
although the page can be displayed if I paste the URL in
the browser's address!
I tried using BOTH:
<input type="submit" value="OK"
OnClick="javascript:window.location('thanks.htm')" >
and specifying thanks.htm in the ACTION of the Form.
For [1]: I couldn't get back to the original form with:
<input type="submit" value="OK"
OnClick="javascript:window.top.history.back()">
Any ideas will be greatly appreciated, thnx!
Calvin
Calvin Guest
-
Redirection Problem
I'm running PHP on Windows, but that's just the local test... in production it will be on Apache. I am not using PHP as a CGI. I want to perform... -
ASP redirection
Hey, I have an idea and wonder if it's possible I want to have a form page with aboot three different drop down menus. once all the options... -
Passport Redirection Problem.
Hi. all!!!!!!!! With Passport Authentication AFTER SESSION TIME OUT How can i redirect the user to the Passport login page. And after... -
redirection
Thank you for your hel my question is: How can I redirect a visitor to a HTML site if he does not have flash plugin instaled on his computer? on my... -
header() redirection/session variable problem
Hello, I'm having an odd problem with combining an authentication session variable with header() redirection. Basically I have an authentication... -
Ray at #2
Re: Problem with redirection in a Form...
I don't understand why you're using javascript to change the page location
on submit buttons. Don't you want the form to submit? Just have the form
submit and use Response.Redirect "thanks.htm" in ASP code. Or am I not
understanding something you're trying to do?
Ray at home
"Calvin" <calvinl@ci.campbell.ca.us> wrote in message
news:054b01c34a66$e50f4a50$a301280a@phx.gbl...> Hi,
>
> Envronment: IIS 5 on W2k sp3
>
> Problem: I'm using a Form and when Submitted, will display
> a confirmation page. The confirmation page is simply a
> Form with an OK button. I want the browser to display
> either [1] the first form OR [2] to another page and I
> couldn't do either.
>
> Here's what I have problem with:
> For [2], I got the error
> HTTP 405 - Resource not allowed
> Internet Information Services
> although the page can be displayed if I paste the URL in
> the browser's address!
> I tried using BOTH:
> <input type="submit" value="OK"
> OnClick="javascript:window.location('thanks.htm')" >
> and specifying thanks.htm in the ACTION of the Form.
>
> For [1]: I couldn't get back to the original form with:
> <input type="submit" value="OK"
> OnClick="javascript:window.top.history.back()">
>
> Any ideas will be greatly appreciated, thnx!
> Calvin
Ray at Guest
-
MDW #3
Problem with redirection in a Form...
If all you want is for the address to change when you
click on the button (and not actually submit any form data
to an ASP page), then try
<inuput type="button" onClick="....">display>-----Original Message-----
>Hi,
>
>Envronment: IIS 5 on W2k sp3
>
>Problem: I'm using a Form and when Submitted, will>a confirmation page. The confirmation page is simply a
>Form with an OK button. I want the browser to display
>either [1] the first form OR [2] to another page and I
>couldn't do either.
>
>Here's what I have problem with:
>For [2], I got the error
> HTTP 405 - Resource not allowed
> Internet Information Services
>although the page can be displayed if I paste the URL in
>the browser's address!
>I tried using BOTH:
><input type="submit" value="OK"
>OnClick="javascript:window.location('thanks.htm') ">
>and specifying thanks.htm in the ACTION of the Form.
>
>For [1]: I couldn't get back to the original form with:
><input type="submit" value="OK"
>OnClick="javascript:window.top.history.back()">
>
>Any ideas will be greatly appreciated, thnx!
>Calvin
>.
>MDW Guest



Reply With Quote

