Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Login Page

Recommended Posts

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

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.