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. 2 2851
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.mic rosoft.comwrote in message
news:C7******** *************** ***********@mic rosoft.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.
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.mic rosoft.comwrote in message
news:C7******** *************** ***********@mic rosoft.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.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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" action="http://www.theirsite.htm">
<input type=hidden name="field1" value="value1">
<input type=hidden name="field2> value="value2>
<input type="submit" value="Click Me">
On my web form, I have numerous web controls ( all runat="server"), one of
which is a button which...
|
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 using an
aspx (C# - using VS.NET). Within the resulting HTML is a form, which
contains the following :
<form method="POST" action="recieveForm.aspx?lang=eng">
|
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
<form action="display.aspx" method="post" target="_blank"> will submit the
form data
and open display.asp in a new browser
|
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,
Dalibor
|
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 need to send data from my
server via the post method to the payment server. The
payment server does not run asp.net. I dont know what they
run. The payment server then returns to my server with the
| |
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 turn out to be
valid, and now I want to move to a new page?
My form declaration looks like this:
<form METHOD="POST" ACTION="sites2.aspx" name="MyForm" runat="server">
This form declaration is on a page called sites1.aspx, but it doesn't
post any...
|
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
tools like ieHTTPHeaders v1.6, and I perform a normal login (using the
normal website), I see that the viewstate is
__VIEWSTATE=dDwxMzU4OTE3NTA2Ozs%2BTK88jS63JXN181X3N8zKivua8co%3D&txt_username=xxx&txt_password=xxxxxx&btn_login=Login.
When I...
|
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 the post and get the response. using this code:
Dim PostData as string
Dim ActionURL as string
Dim myWebClient As WebClient = New WebClient
|
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 application (either 1.1 or 2.0)?
What was the source of your information?
Thank you.
|
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:
I have a JavaScript function that looks like this:
function DoPostRedir()
{
document.MainFrm.method = "POST";
document.MainFrm.action = "http://XXX.YYY.com/Help/";
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |