473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 2838
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Phillip N Rounds | last post by:
I have a webform, from which I have to submit info to another site. Their instructions are to have a html form, with the following as the submit: <form method="post"...
1
by: Lewis | last post by:
Hi, Im having a problem with an aspx page that I'm building (and rather urgently needing to complete!). Situation is this... Im transforming some XML using an XSLT which builds an HTML form...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
2
by: ETK | last post by:
Hi, I need to POST data to some aspx page and after that redirect to this page ( page isn't on my local server where my page is). Is it possible to do this from aspx code on server side? Thanks,...
5
by: Vishal | last post by:
Hello, I already asked this question in the ASP.NET forums, but no help came. So I am hoping that somebody can help me out. This is really very URGENT me. For my e-commerce application, I...
4
by: COHENMARVIN | last post by:
I'm a asp programmer starting out with asp.net. I understand that an asp form can post to its own page and that this allows validation of form fields on the server. But suppose all the controls...
0
by: WIWA | last post by:
Hi, I want to login to a password protected website and fetch the content of the page behind. I have based my code on http://weblogs.asp.net/jdennany/archive/2005/04/23/403971.aspx. When I use...
8
by: Laith Zraikat | last post by:
I am trying to invoke a post request from code behind of an asp.net page using "WebClient" object, and I want the user to be redirected to the action url as well. So far Ive been able to send...
13
by: Thom Little | last post by:
I have an HTML Form that uses GET and is processed by an ASP.NET 1.1 web application. Can you recommend a simple example of an HTML Form that uses POST and is processed by an ASP.NET web...
5
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
I am trying to create ASPX code which will allow me to redirect a user to another site with POST data. I figure that the best way to do this is with JavaScript to the client. Here's what I'm doing:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.