By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,677 Members | 1,506 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,677 IT Pros & Developers. It's quick & easy.

http post on submit, URL being encoded

P: n/a
Prior to posting a form (.asp page) to a URL, I check the parameters
being passed and they are not encoded, but when the URL is served it is
encoded. How can I prevent this?

The code is as follows:
Response.Buffer = True
<meta http-equiv="Content-Type" content="Content-Type: text/plain">
<SCRIPT language="JavaScript">
function PostToURL() {


<BODY bgcolor="#FFFFFF" onLoad="PostToURL();">

<form name="formA" action="<%= Session("strURL") %>">
<input type="hidden" name='Source' value="<%= Session("strOpts") %>"



My alert prior to the form submit shows:

The result of the post is:

Feb 1 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Thanks for the reply, the problem ended up being that my form tag was
missing method='post'

Feb 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.