473,320 Members | 1,879 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,320 software developers and data experts.

POST from external form doesn't work?

Hi guys,

Before I spend hours barking up the wrong tree, am I right in thinking
that there is no way for a non ASP.NET page to POST to a ASP.NET page
and be able to retrieve the variables in any fashion? So far as I can
determine, the POST gets changed into a GET before it hits any of my
code and the variables have disappeared.

Situation is: We're adding "Membership" services for our clients, and
obviously want our clients to be able to access these services via our
main website - so we've changed the homepage to include a small form
which then submits to a seperate login page (that if it recieves
credentials, does the authentication in the Page_Load and proceeds into
the services area). I really don't want to switch the main website to
ASP.NET (especially since there are already some subfolder of the
mainsite which are ASP.NET, and I've had problems with web.configs
every time I've tested out nesting).

So - what should I do? How should I proceed? Not having the login on
the Homepage (my own preferred solution, which I suggested before we
even started development) is not "politically" acceptable. But as it
is, the only way to pass the credentials is via GET, which means the
password shows up in the status bar. I'm not happy going live with
that...

Damien

Nov 19 '05 #1
4 1275
Should work. Try perhpas to see the IIS log if the request comes originalmly
as a POST and is then transformed into a GET. My first reaction would be
rather that the original page mistakenly POST to the page.

Don"t know what you pass but you could perhaps pass a kind of "ticket"
instead for passing authentication information...

--
Patrice

"Damien" <Da*******************@hotmail.com> a écrit dans le message de
news:11*********************@g43g2000cwa.googlegro ups.com...
Hi guys,

Before I spend hours barking up the wrong tree, am I right in thinking
that there is no way for a non ASP.NET page to POST to a ASP.NET page
and be able to retrieve the variables in any fashion? So far as I can
determine, the POST gets changed into a GET before it hits any of my
code and the variables have disappeared.

Situation is: We're adding "Membership" services for our clients, and
obviously want our clients to be able to access these services via our
main website - so we've changed the homepage to include a small form
which then submits to a seperate login page (that if it recieves
credentials, does the authentication in the Page_Load and proceeds into
the services area). I really don't want to switch the main website to
ASP.NET (especially since there are already some subfolder of the
mainsite which are ASP.NET, and I've had problems with web.configs
every time I've tested out nesting).

So - what should I do? How should I proceed? Not having the login on
the Homepage (my own preferred solution, which I suggested before we
even started development) is not "politically" acceptable. But as it
is, the only way to pass the credentials is via GET, which means the
password shows up in the status bar. I'm not happy going live with
that...

Damien

Nov 19 '05 #2
Patrice wrote:
Should work. Try perhpas to see the IIS log if the request comes originalmly
as a POST and is then transformed into a GET. My first reaction would be
rather that the original page mistakenly POST to the page.

Don"t know what you pass but you could perhaps pass a kind of "ticket"
instead for passing authentication information...

Yeah, it's definitely POSTing so far as IIS is concerned. Thanks for
trying. Thought of trying to obfuscate the password that's being
passed, but we're not allowed to assume javascript...

Damien

Nov 19 '05 #3
So this is a POST. Now how are you trying to retrieve the values ? You
should be able to extract this from the Request.Form collection. What have
you tried that doesn't work ?

--
Patrice

"Damien" <Da*******************@hotmail.com> a écrit dans le message de
news:11**********************@g14g2000cwa.googlegr oups.com...
Patrice wrote:
Should work. Try perhpas to see the IIS log if the request comes originalmly as a POST and is then transformed into a GET. My first reaction would be
rather that the original page mistakenly POST to the page.

Don"t know what you pass but you could perhaps pass a kind of "ticket"
instead for passing authentication information...

Yeah, it's definitely POSTing so far as IIS is concerned. Thanks for
trying. Thought of trying to obfuscate the password that's being
passed, but we're not allowed to assume javascript...

Damien

Nov 19 '05 #4
Patrice wrote:
So this is a POST. Now how are you trying to retrieve the values ? You
should be able to extract this from the Request.Form collection. What have
you tried that doesn't work ?

--
Patrice

Sorry,

I hate it when people don't supply enough information, and now I'm
doing the same...

Tried Request.Form, Request.Params, (both = Nothing for the variables),
tried reading the InputStream (nothing there). Tried creating a
HttpModule to grab the values before page processing started and stash
them in the session - it couldn't see them. And the reported Method on
the Request object is "GET", even though, as I said, the IIS logs say
it is POST.

I think that covers all of my confused thinking so far...

Damien

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Roger Lord | last post by:
I'm starting a session with session_start. That works fine. I can see the $_SESSION variables from other php pages. However, when I go to an external website and call one of the php pages from a...
2
by: Robert Oschler | last post by:
I am working on a PHP 4 app that interacts with an external authorization server. The external server does "third-party" authorization of users. So I do the following: 1) Each of my PHP scripts...
4
by: Wayne P. | last post by:
I'm working on a shopping cart webapp and I need to perform a form POST of data to a 3rd party site (a payment processor, StormPay). I seem to be having problems doing this. I have an image...
10
by: Mark | last post by:
Hi All, I could do with some assistance... I am working on an ecommerce site in vb.net (aspx) I have built all my pages that perform the checkout process and gets to a summary screen where you...
3
by: sewerized | last post by:
Hello all, I'm having a problem with a user preferences form I'm creating. I want to use dynamic dropdown SELECT boxes for this so my page doesn't get cluttered with 100000 links. Since I...
0
by: bertkuiken | last post by:
I'm new to .net and c# but have done this before at j2ee and php. All i want is to post a xml file as a string from an external website and retrieve it from the postdata at my c# programming code....
4
by: Bosconian | last post by:
I have created a form tool page that consists of several dropdowns which allows a user to drill down and select a desired document for viewing in an external window. I need to post the form data to...
6
by: LeslieTP | last post by:
I'd like to submit a .php form to a url at an external site and redirect to a local page, but am stumped and need some help. <form ACTION="http://www.externalsite/post.php" method="post"...
5
by: Ian | last post by:
I am trying to: 1. Open a form on the external database 2. Enter a value in a text box on that form I have 1 above working OK using module form “The Access Web”, the module looks like this: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.