0
ASP Classic - post form data without form
Explorer
,
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/td-p/288636
Jun 29, 2007
Jun 29, 2007
Copy link to clipboard
Copied
I have to send our account password and user entered form
data to a page (which I can't modify). I don't want to use the Get
method and I don't want to put our password into a hidden field. I
would like to have the user fill out the form, which submits back
to the page where I add my password field value via ASP, then send
all of that data to another page via post.
To further clarify, we are using a service and to add user data I have to also supply our account name and password.
To further clarify, we are using a service and to add user data I have to also supply our account name and password.
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/m-p/288637#M99129
Jun 29, 2007
Jun 29, 2007
Copy link to clipboard
Copied
Get it from the database and when you send it make sure its
sent as
unencrypted text. Its all the rage...
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
"jasonacook" <webforumsuser@macromedia.com> wrote in message
news:f6321t$s9j$1@forums.macromedia.com...
>I have to send our account password and user entered form data to a page
>(which
> I can't modify). I don't want to use the Get method and I don't want to
> put our
> password into a hidden field. I would like to have the user fill out the
> form,
> which submits back to the page where I add my password field value via
> ASP,
> then send all of that data to another page via post.
> To further clarify, we are using a service and to add user data I have to
> also
> supply our account name and password.
>
unencrypted text. Its all the rage...
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
"jasonacook" <webforumsuser@macromedia.com> wrote in message
news:f6321t$s9j$1@forums.macromedia.com...
>I have to send our account password and user entered form data to a page
>(which
> I can't modify). I don't want to use the Get method and I don't want to
> put our
> password into a hidden field. I would like to have the user fill out the
> form,
> which submits back to the page where I add my password field value via
> ASP,
> then send all of that data to another page via post.
> To further clarify, we are using a service and to add user data I have to
> also
> supply our account name and password.
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
jasonacook
AUTHOR
Explorer
,
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/m-p/288638#M99131
Jun 29, 2007
Jun 29, 2007
Copy link to clipboard
Copied
What do you mean? I need to supply my username/password to a
page using GET or POST. Accompanying my info is info collected from
a form. I don't want the person filling out the form to be able to
see my username/password so I don't want to use hidden fields and
the GET method.
Thanks, by the way, for responding
Thanks, by the way, for responding
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/m-p/288641#M99134
Jun 29, 2007
Jun 29, 2007
Copy link to clipboard
Copied
I meant to imply when you need credentials not supplied to
the form that
they should likely be retrieved from the database -- after the form is
submitted -- and was being facetious to remind you to encrypt the
credentials when sending them somewhere.
<%= Clinton
"jasonacook" <webforumsuser@macromedia.com> wrote in message
news:f63am0$9c2$1@forums.macromedia.com...
> What do you mean? I need to supply my username/password to a page using
> GET or
> POST. Accompanying my info is info collected from a form. I don't want the
> person filling out the form to be able to see my username/password so I
> don't
> want to use hidden fields and the GET method.
>
> Thanks, by the way, for responding
>
they should likely be retrieved from the database -- after the form is
submitted -- and was being facetious to remind you to encrypt the
credentials when sending them somewhere.
<%= Clinton
"jasonacook" <webforumsuser@macromedia.com> wrote in message
news:f63am0$9c2$1@forums.macromedia.com...
> What do you mean? I need to supply my username/password to a page using
> GET or
> POST. Accompanying my info is info collected from a form. I don't want the
> person filling out the form to be able to see my username/password so I
> don't
> want to use hidden fields and the GET method.
>
> Thanks, by the way, for responding
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/m-p/288639#M99132
Jun 29, 2007
Jun 29, 2007
Copy link to clipboard
Copied
Will the user remain on the page your redirecting to, or will
that page
respond in some way and/or redirect the user back to your site?
"jasonacook" <webforumsuser@macromedia.com> wrote in message
news:f6321t$s9j$1@forums.macromedia.com...
>I have to send our account password and user entered form data to a page
>(which
> I can't modify). I don't want to use the Get method and I don't want to
> put our
> password into a hidden field. I would like to have the user fill out the
> form,
> which submits back to the page where I add my password field value via
> ASP,
> then send all of that data to another page via post.
> To further clarify, we are using a service and to add user data I have to
> also
> supply our account name and password.
>
respond in some way and/or redirect the user back to your site?
"jasonacook" <webforumsuser@macromedia.com> wrote in message
news:f6321t$s9j$1@forums.macromedia.com...
>I have to send our account password and user entered form data to a page
>(which
> I can't modify). I don't want to use the Get method and I don't want to
> put our
> password into a hidden field. I would like to have the user fill out the
> form,
> which submits back to the page where I add my password field value via
> ASP,
> then send all of that data to another page via post.
> To further clarify, we are using a service and to add user data I have to
> also
> supply our account name and password.
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
jasonacook
AUTHOR
Explorer
,
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/m-p/288640#M99133
Jun 29, 2007
Jun 29, 2007
Copy link to clipboard
Copied
That page will respond and/or redirect the user back to the
site.
Thanks
Thanks
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/m-p/288642#M99135
Jun 30, 2007
Jun 30, 2007
Copy link to clipboard
Copied
You'd have something like this:
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
objXML.open "POST", "mysite.com blah blah", False
objXML.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objXML.send(Request.Form)
myResponse = objXML.responsetext
Set objXML = Nothing
--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
objXML.open "POST", "mysite.com blah blah", False
objXML.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objXML.send(Request.Form)
myResponse = objXML.responsetext
Set objXML = Nothing
--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
jasonacook
AUTHOR
Explorer
,
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/m-p/288643#M99136
Jul 02, 2007
Jul 02, 2007
Copy link to clipboard
Copied
Jules, the line objXML.send(Request.Form) will automatically
pull in all of the different form elements i.e. username, password,
address, city, etc?
Thank you.
Thank you.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/dreamweaver-discussions/asp-classic-post-form-data-without-form/m-p/288644#M99137
Jul 02, 2007
Jul 02, 2007
Copy link to clipboard
Copied
Request.Form by itself will return the contents of the entire
form, yes.
"jasonacook" <webforumsuser@macromedia.com> wrote in message
news:f6bkor$8os$1@forums.macromedia.com...
> Jules, the line objXML.send(Request.Form) will automatically pull in all
> of the different form elements i.e. username, password, address, city,
> etc?
> Thank you.
"jasonacook" <webforumsuser@macromedia.com> wrote in message
news:f6bkor$8os$1@forums.macromedia.com...
> Jules, the line objXML.send(Request.Form) will automatically pull in all
> of the different form elements i.e. username, password, address, city,
> etc?
> Thank you.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

