Oh yeah.
The cflogin block follows:
<cflogin applicationtoken="#this.name#" idletimeout="600">
<!--- isn't logged in --->
<cfif NOT IsDefined("cflogin")>
<!--- doesn't came from login form --->
<cfinclude template="../dsp/dsp_login.cfm">
<cfabort>
<cfelse>
<!--- came from login form--->
<cfset loginRoles=request.facade.authenticateUser(ds_user_name:
cflogin.name, ds_password: cflogin.password)>
<cfif len(loginRoles)>
<!--- correct login --->
<cfloginuser name="#cflogin.name#"
password="#cflogin.password#" roles="#loginRoles#">
<cfset
thisUserData=request.facade.getEmployeeData(ds_user_name: cflogin.name)>
<cfset
mySitesAbleToManage=request.facade.getEmployeeSites(ds_user_name:
cflogin.name)>
<cflock scope="SESSION" type="EXCLUSIVE" timeout="3">
<cfset session.myUserInfo=thisUserData>
<cfset session.myRoles=loginRoles>
<cfset session.mySitesAbleToManage=mySitesAbleToManage>
</cflock>
<cfelse>
<!--- wrong login --->
<script>alert('Login inv�lido!');</script>
<cfinclude template="../dsp/dsp_login.cfm">
<cfabort>
</cfif>
</cfif>
</cflogin>
Fabio Terracini
Synex Technologies Co.
Consultant
Fone/Fax: +55 (11) 3071-3363
[EMAIL PROTECTED]
www.synex.com.br
James Holmes wrote:
>You might have to post the contents of the cflogin block, as this is very
>weird.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205553
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54