kvarnerexpress 0 Report post Posted July 4, 2005 Hi All,I currently have a HTML page that contains a login section. At present the user enters his / her username and password and presses Submit (standard HTML Post Form). This calls an ASP page which checks the details against an Access database and displays an error message if there is a problem. The user is also presented with a link back to the login page with the invitation to "Try Again". If the details are okay then a welcome page is displayed.This is very nice but I would much rather have a login page that checks the login details and displays a message if the details are wrong. Alternatively, if the details are okay, it should go to the welcome page .Questions:I do not think I can do this in HTML by itself. Correct?What langauge should I use?How would I write it in this other language?How would I get my HTML login page to invoke this new code when the Submit button is pressed? Or would it be called in some way not using the HTML form?Your help would be greatly appreciated!Regards, kvarnerexpress Share this post Link to post Share on other sites
Tyssen 0 Report post Posted July 4, 2005 You can do it with ASP. Instead of sending the form to another page, you send the form to the same page to check the login. If it doesn't work, the page prints the error message and then the form to fill in again. If it does work, use response.redirect to go the relevant page. Share this post Link to post Share on other sites
guangdian 0 Report post Posted July 4, 2005 if you have host of php.you should use php language for this login pages..if you have asp host you should use asp language for login pages..and also the Xisto give us php host then you should write some php login page.if you don't know how to write it you can search the code of it. Share this post Link to post Share on other sites
fffanatics 0 Report post Posted July 4, 2005 Yeah basically it depends on what your host offers you. For me, i am hosted here at Xisto so i use php for my login script. I wrote all the code myself but if you want to see it just PM me. Secondly, since you wrote this script yourself, you need to make sure it is as secure as possible so make sure to encrypt passwords and such to prevent hacking. Hope this helps. Share this post Link to post Share on other sites
biscuitrat 0 Report post Posted July 27, 2005 I use PHP for my login scripts. I can't remember what it was called though. Argh :DAnyways, PHP/MySQL seems to be the best method that I've tried out. I'd recommend searching for free/paid login scripts on google or hotscripts.com to find one that's good for you. Share this post Link to post Share on other sites