Hi all,
Im having trouble with application.cfm. Originally i had only the following in it for my shopping cart:
<cfapplication name="cart"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#CreateTimeSpan(0,1,0,0)#">
<!--- Monetary Variables --->
<cfparam name="application.taxrate" default="0.08">
Then, as part of creating a login session for admins I added the following:
<cfapplication name="admin"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#CreateTimeSpan(0,1,0,0)#">
<cfparam name="session.isverified" default="no">
Now, when i get to the part of the shopping cart that used the application.taxrate variable I get this error:Error resolving parameter APPLICATION.TAXRATE
The application variable TAXRATE does not exist. The cause of this error is very likely one of the following things:
The name of the application variable has been misspelled.
The application variable has not yet been created.
The application variable has timed out.
Any Ideas?
Im having trouble with application.cfm. Originally i had only the following in it for my shopping cart:
<cfapplication name="cart"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#CreateTimeSpan(0,1,0,0)#">
<!--- Monetary Variables --->
<cfparam name="application.taxrate" default="0.08">
Then, as part of creating a login session for admins I added the following:
<cfapplication name="admin"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#CreateTimeSpan(0,1,0,0)#">
<cfparam name="session.isverified" default="no">
Now, when i get to the part of the shopping cart that used the application.taxrate variable I get this error:Error resolving parameter APPLICATION.TAXRATE
The application variable TAXRATE does not exist. The cause of this error is very likely one of the following things:
The name of the application variable has been misspelled.
The application variable has not yet been created.
The application variable has timed out.
Any Ideas?