Hi,

I'm forever having problems with users who use IE (and that's a huge lot of 
them).  If they log in with Firefox they are usually fine.

I am using client variables, when they log in with their email and password I 
assign some client variables like:

        <!--- check password --->
        <cfif CheckAuthor.authorPassword IS form.authorPassword AND 
compare(CheckAuthor.authorPassword, form.authorPassword) IS 0>
        <cfset Client.AuthorID = "#CheckAuthor.authorID#">
        <cfset Client.authorFirstName = "#CheckAuthor.authorFirstName#">
        <cfset Client.authorSurname = "#CheckAuthor.authorSurname#">
        <cfset Client.authorEmailAddress = 
"#CheckAuthor.authorEmailAddress#">        
        <cfset Client.authorLevel = "#CheckAuthor.authorLevel#">
        <cfif #DateFormat(CheckAuthor.authorDateLastSuccessfulLogin, 
"mm/dd/yyyy")# NEQ #DateFormat(UKTodayDate, "mm/dd/yyyy")#>
        <cfset CheckAuthor.authorDaysVisitedSite = 
#CheckAuthor.authorDaysVisitedSite# + 1>
        </cfif>
        
            <!-- update login details to DB -->
            <CFQUERY NAME="Update_authorDetails" datasource="user020">
                UPDATE tbl_020authorDetails
                SET authorDateLastSuccessfulLogin = #UKTodayDate#,
                authorDaysVisitedSite = '#CheckAuthor.authorDaysVisitedSite#'
                WHERE authorID = '#Client.authorID#'
            </CFQUERY>
                        
        <cflocation url="/webs/020/projects/projects.cfm" addtoken="no">

        <cfelse>
        
                <cfset client.errorMessage = "Incorrect email or password">
                <cflocation url="/webs/020/projects/projects.cfm" addtoken="no">

        </cfif>

It's hard and fast code I know but is there anything wrong with the way I am 
setting the client variables?

Thanks,

Saturday
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:227142
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to