Ok,

have a normal html form that sends a username and password
to an asp page,
the asp page then retrieves the username and password and
puts it into cookies,
The page then uses a javascript submittal to a progress
database but this js is considered malicious code by some
browsers and will not work for certain users. So I have to
find a different way of gleaning the username and password
before it is sent off to the other page (which I have no
control over). I could always use a response.redirect but
then the username and password would be in clear text and
is unacceptable.


IS there anyway to do a blind submittal on an asp page
without user intervention???????

Re: ASP submitting a form to 2 places on the same page by Brandon

Brandon
Tue Sep 16 22:02:55 CDT 2003

I am not positive if I completely understand what you are trying to
accomplish, but from what I am gathering, it sounds like the session object
would work.

<%
session("username") = request("name") -- from the html form
session("password") = request("password") -- from the html form
%>

the username and password can then be retrieved for as long as the client's
browser window is open

<%
set connect = server.createobject("adodb.connection")
connect.open "passwordfile"
set look = ("select password from passwordfile where username='" &
session("username") & "'")
if session("password") <> look("password") then
response.redirect "youdonthavetherightpassword.asp"
end if
%>

instead of using cookies, because some clients browsers will not allow your
cookies to be set


"painlessprod" <painlessprod@hotmail.com> wrote in message
news:05d301c37bd8$dc27bcd0$a301280a@phx.gbl...
> Ok,
>
> have a normal html form that sends a username and password
> to an asp page,
> the asp page then retrieves the username and password and
> puts it into cookies,
> The page then uses a javascript submittal to a progress
> database but this js is considered malicious code by some
> browsers and will not work for certain users. So I have to
> find a different way of gleaning the username and password
> before it is sent off to the other page (which I have no
> control over). I could always use a response.redirect but
> then the username and password would be in clear text and
> is unacceptable.
>
>
> IS there anyway to do a blind submittal on an asp page
> without user intervention???????