I developed a few pages to restrict access by way of a username and password login. I keep getting an error that says my session variable "login" is undefined. here is the code in question, though it might be more so on another page.
<cfif SESSION.login EQ "No">
<cflocation url="adminLogin.cfm" addtoken="no">
</cfif>
I have a cfinclude template on each page I want to restrict access to.
Some help would be greatly appreciated. Thanks in advance!
Tony