GRose
Posts: 5
|
| Posted: 02/23/2005, 3:57 AM |
|
Hi, I currently modifying the employee directory example ( asp + templates )to use active directory logins as a way of learning the product but I have hit a problem and need some help.
I have read thru common.asp to find that cclogin user
essentially sets the following 3 session variables to indicate susscess and security level
Session("EmplDirUserID") =
Session("UserLogin") =
Session("EmplDirGroupID") =
The CCLoginUser_ActDir function I wrote does this and successfully logs people in. I allso made one change in
Login_Login_DoLogin_OnClick() to call my routine instead.
ie
Function Login_Login_DoLogin_OnClick()
With Login
If NOT CCLoginUser_ActDir.login.Value, .password.Value) Then
.Errors.addError("Login or Password is incorrect.")
Login_Login_DoLogin_OnClick = False
.password.Value = ""
Else
If Not IsEmpty(CCGetParam("ret_link", Empty)) Then _
Redirect = CCGetParam("ret_link", Empty)
Login_Login_DoLogin_OnClick = True
End If
End With
End Function
However I have a problem when an an invalid username / password is entered. Instead of returning back to the login page . I get an error code 500 page not found with the following
url -
http://gghweb01/empldir/Login.asp?ret_link=%2Fempldir%2...d&ccsForm=Login
can anyone point me in the direction of what I have missed?
Thanks
|
 |
 |
|