Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ASP Classic - post form data without form

Explorer ,
Jun 29, 2007 Jun 29, 2007
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.
TOPICS
Server side applications
1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 29, 2007 Jun 29, 2007
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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 29, 2007 Jun 29, 2007
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 29, 2007 Jun 29, 2007
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
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 29, 2007 Jun 29, 2007
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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 29, 2007 Jun 29, 2007
That page will respond and/or redirect the user back to the site.
Thanks
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 30, 2007 Jun 30, 2007
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


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 02, 2007 Jul 02, 2007
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 02, 2007 Jul 02, 2007
LATEST
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.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines