Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Submission on opening the page

Status
Not open for further replies.

jedel

Programmer
Jan 11, 2003
430
AU
Hi All,
AS the title suggests, I have an asp form that retrieves login details for users who forget there password etc. they can receive there details by entering their email into a form which in turn pulls up the page with there details.

For scurity reasons however, I would like to have this page not show any detail, have all of the data in hidden fields and have it automatically send the data to the persons email address.

Currently the page displays and the user needs to click on the submit button to send himself the email. I would like this to happen when the page opens.

Any help would be appreciated

Cheers

Dean

-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
 
You should never return security data in hidden fields. (They're not really all that hidden). Simply have your ASP form's action be an ASP page that that sends them an email then redirects them to another page stating 'an email has been sent'. (Or refresh the original page with that information.)

You probably should ask in the ASP forum if you have any further questions.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Greg,
Thanks for the reply, I was unaware of this. Kinda new at the whole login thing. Could you possibly expand a little on your post? ie I'm not sure what to place in the form's Action.

What you're saying is exactly what I I want to do. I just don't know how? Could you possibly expand your comment a some?

Cheers

Dean

-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
 
I'm not an ASP expert. Try: forum333 to find specific answers.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top