469,623 Members | 1,472 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

POST data from aspx page to asp page


I want to pass (POST) username & password from
my page to another asp page, I can't do anything on that page, this page
for other system, and I can't touch or even change anything on it.

Can you send me a sample code to POST username and password for that
page.

Give me a sample code to send a username and password to it, and how I
can get the response if the page shows an error page or redirect to
another page or if the page doesn't show anything if the username and
password is invalid.

All possibilities for the mentioned states for the login page are actual
cases I face for different systems.

Please reply ASAP, and thanks for your patient.


Oct 4 '06 #1
2 2729
If you are posting to another page, simply set up the form on the client
side, post to a page using the normal ASP method and use HTML controls. It
is 100% the same model as ASP. You can then pull off the Request object,
like always.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"MOUSTAFA ARAFA" <MO***********@discussions.microsoft.comwrote in message
news:C7**********************************@microsof t.com...
>
I want to pass (POST) username & password from
my page to another asp page, I can't do anything on that page, this page
for other system, and I can't touch or even change anything on it.

Can you send me a sample code to POST username and password for that
page.

Give me a sample code to send a username and password to it, and how I
can get the response if the page shows an error page or redirect to
another page or if the page doesn't show anything if the username and
password is invalid.

All possibilities for the mentioned states for the login page are actual
cases I face for different systems.

Please reply ASAP, and thanks for your patient.


Oct 4 '06 #2
hi gregory,
i did that,i create the remote form on my page,and set the parameters name
as then name of the remote page,and when i post the data,the reposnse is my
remote form without submit action,which i need to be proceed on the remote
page.

i want the remote page to submit,and return me the response,if its
redirected or not ?

if you have any sample this will be more helpful for me.

"Cowboy (Gregory A. Beamer)" wrote:
If you are posting to another page, simply set up the form on the client
side, post to a page using the normal ASP method and use HTML controls. It
is 100% the same model as ASP. You can then pull off the Request object,
like always.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"MOUSTAFA ARAFA" <MO***********@discussions.microsoft.comwrote in message
news:C7**********************************@microsof t.com...

I want to pass (POST) username & password from
my page to another asp page, I can't do anything on that page, this page
for other system, and I can't touch or even change anything on it.

Can you send me a sample code to POST username and password for that
page.

Give me a sample code to send a username and password to it, and how I
can get the response if the page shows an error page or redirect to
another page or if the page doesn't show anything if the username and
password is invalid.

All possibilities for the mentioned states for the login page are actual
cases I face for different systems.

Please reply ASAP, and thanks for your patient.




Oct 6 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Phillip N Rounds | last post: by
2 posts views Thread by ETK | last post: by
reply views Thread by WIWA | last post: by
8 posts views Thread by Laith Zraikat | last post: by
13 posts views Thread by Thom Little | last post: by
5 posts views Thread by =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.