Help - Search - Members - Calendar
Full Version: Help with user login
HTMLHelp Forums > Programming > Client-side Scripting
cyber-guys
I need to add a client login to a web site - when the client logs in he needs to be redirected to a specific folder that contains documents specific to him.

Our host is running apache and I plan on using password protected folders - currently clients are given a link that directs them directly to the folder where they enter their userid & password. I want to change that to a form that asks for user id, password and directs the user to the proper folder based on the userid (folder name = userid) and passes the password to the apache login.

I would like to be able to do this on the client side if possible as I am clueless about server side stuff - perl, cgi, etc.

Any help would be greatly appreciated.

Thanks in advance,
Cyber-guys

http://www.windfieldalloy.com/login.htm (links to a specific client login)
Darin McGrew
One of these CGI homepage-community programs or these PHP homepage-community programs may meet your needs.
cyber-guys
Right now our clients access their reports by a link to a protected folder - each client has their own link with multiple logins assigned to each. I would like to add a form that the user can enter their account# (its also the folder name) and be redirected to that folder (mycompany.com/acct#)

I thought I could do it with forms and get but I haven't been able to figure it out - if anyone has any ideas please let me know.

Thanks in advance,
Cyber-guys
Darin McGrew
Well, the forms aren't the hard part. It's the server-side (e.g., CGI, PHP) software that's the hard part.

It sounds like you're using basic HTTP authentication now. AFAIK, you can't have a form submitted to the server set a browsers credentials for basic HTTP authentication. So if you want to use a form that is submitted to the server, then you'll need to implement all the security with your own server-side programs.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.