This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » ASP » Response.write when login fails
Reply

Response.write when login fails

Christian Sen
Freaking Member



Since: 10 Apr 2003
Posts: 114
Posted 28 Apr 2010 00:03:58

Hi,

I would like to write an error message on logipage when login fails, using response.write, how do I do this?

Thanks for any help!

Hi,

I would like to write an error message on logipage when login fails, using response.write, how do I do this?

Thanks for any help!
MX Addict
Wicked Member



Since: 06 Feb 2003
Posts: 245
Replied 06 May 2010 17:18:57
Hi Christian,

I create 2 pages:

login.asp and a login_false.asp both pages contain a form with user and password textfield

when using dreamweaver go to User Authentication > Login user

Use this Dreamweaver script on both pages. Only the login.asp redirects to login_false.asp when login failes.

The login_false.asp redirects to itself. On the login_false.asp you can put some text as Login is not Correct.

So someone goes to login.asp. Try to login. If fails redirect to login_fails.asp.

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency