|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
I am not a computer wiz--so if someone can point me in the right direction, it would be greatly appreciated. I am creating some pages for an existing internet site. On one page, I have a Customer ID and Password field which must be entered in order for the user to access his/her information from our site. How do I make this work? My web host has already set up the IDs & Passwords I just don't know how to link the page (designed in FrontPage) so that once the user has entered the ID and Password they can access their file. Thanks!!!
Please e-mail me at URL Rhambutan. |
|
#2
|
||||
|
||||
|
1) Is the page expecting the userid and password from a POST or from a GET? (the one that is receiving your userid and password) You need to know what the page is expecting and so that you can pass it the userid and password in the right format.
2) Is the page an ASP page? (the one that is receiving your userid and password) |
|
#3
|
|||
|
|||
|
I don't know how any of what you described works i.e. POST or GET. The page that is receiving the userid & password has not been created yet. If you can suggest the best way to create this that would be great.Thanks
|
|
#4
|
||||
|
||||
|
Hello,
If you are running the website with IIS, you can secure the website folder with NT Authentication. This way, you don't have to create a login page. The website page will popup a login dialog when the user attempts to access a page the first time. But this is generally supported in Internet Explorer. For database verification, you might have a form in your login page like this: <form name="login" method="post" action="Redirect.asp"> <input type="text" name="userid"> <input type="password" name="password"> <input type="submit" name="submit" value="Login"> </form> When the user submits the form above, the page will be redirected to whatever the 'action' property is set to. (redirect.asp in this case). Then the redirect page will grab the userid and password being passed in, like this: <% Dim userid, password userid = Request.Form("userid") password = Request.Form("password") 'at this point, do what you need to process the credentials... 'and redirect them to the right page after they login. %> If you are authenticating via a database, then you will have to check to see if the userid,password combination exists in the database at this point. If it does, redirect the user to his or her home page using Response.Redirect("nameofpage.html"). Hope this helps. If you need more help, let me know. Last edited by dcarva : July 18th, 2003 at 11:45 AM. |
![]() |
| Viewing: ASP Free Forums > Other > ASP Free Lounge > Can someone help me? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|