CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Newbie Authentication Problem

Print topic Send  topic

Author Message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.