Just resending this mail, my last posting seems to have been cut off, just noticed!

I have implemented the following line 
 <CFSET application.loggedin[#session.cfid# #session.cftoken#] = now()>
into the code below

and left the other session.variables as they are because they are working.............

Where are the #session.cfif# and #session.cftoken# coming from ???? 

Because I am recieving the following error,

Error Occurred While Processing Request
Error Diagnostic Information
Just in time compilation error 

Invalid parser construct found on line 38 at position 45. ColdFusion was looking at 
the following text:

#
Invalid expression format. The usual cause is an error in the expression structure. 


<CFQUERY DATASOURCE="#Application.DSN#" NAME="Security">
SELECT *
FROM admin
WHERE Username = '#form.Username#' AND Password = '#form.Password#'
</CFQUERY> 
<CFIF Permissions.RecordCount IS 0>
<CFLOCATION URL="loginagain.cfm" ADDTOKEN="No"> 
<CFELSE>

<CFSET Session.Password = "#Permissions.Password#">
<CFSET Session.Username = "#Permissions.username#">
<CFSET Session.ID = "#Permissions.ID#">
<CFSET Session.Forename = "#Permissions.ForeName#">
<CFSET Session.Lastname = "#Permissions.LastName#">


<CFLOCATION URL="/homeindex.cfm" ADDTOKEN="No">
</CFIF>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to