Click to See Complete Forum and Search --> : User Authentication
mitsuman5
10-26-2007, 11:36 AM
a realestate agent has a home inspector inspect your house, the inspector has alot of realestate agents go to his website and the agents wants to beable to download a copy of the inspection report.
Can I make a page to hold all of the reports and then when an agent puts in a password only his/hers comes up for printing or whatever?
I am a step by step guy Please help....
I am using Dreamweaver MX 2004
dtm32236
10-26-2007, 12:08 PM
does your server using Apache or IIS?
(does it support PHP or ASP?... or none)
dtm32236
10-26-2007, 12:13 PM
PHP: http://www.zubrag.com/scripts/password-protect.php
ASP: http://www.codefixer.com/tutorials/password_protect.asp
mitsuman5
10-28-2007, 03:03 PM
I had my index.htm as a asp, it worked fine for about 3 weeks then it went to a unfound page. I called and I was on a strickly windows server so i know asp is not the answer
i am going to try the php Thank you..
dtm32236
10-28-2007, 11:47 PM
if it's a windows server, chances are it's using IIS, which supports ASP not PHP. Although, the server admin does have the capability to install PHP.
mitsuman5
10-30-2007, 09:50 PM
I have already got a login page so how do I make it go to the page that holds the data..? I also have a registration page
dtm32236
10-31-2007, 09:25 AM
To hold the data, you would store the information in a cookie.
Using ASP, you should have something of the sort:
Username="user"
Password="pswd"
if Strcomp(Request.Form("User"),Username,1)=0 AND Request.Form("password") = Password then
Response.Cookies("loggedIn") = Validated
Response.Cookies ("loggedIn").Expires = DATE
but without a link or code, it's impossible to help you with your code.
landslide
11-26-2007, 10:26 PM
In dreamweaver you have to create a recordset which holds the login info and passwords. Then click on the little plus button and click on user authentication then it will ask you where to get the passwords and where to go if they login correctly or not. Not sure if thats what you need, but works for me.