I am having a somewhat difficult time utilizing the application framework within my CF application. I have been writing code in CF for a bit of time, but am relatively new to using the application framework for a particular application.
Here is my situation: I have a program which runs on our company's intranet. Only one user will use this program. However, I want to set up the application framework such that if she is currently working on the program, application variables are set. That way, if she decides to go use another computer somewhere else (or, for some reason, someone else uses the program), the person at the new computer terminal has to wait 10 minutes from the last time the program was used. Then, after 10 minutes of inactivity, the program can be used again on a different machine.
I have been reading a CF book about using the CFAPPLICATION tag, and I think I am more confused than when I first read it. In my application.cfm file, I thought that I simply needed to set up the CFAPPLICATION tag such like:
<CFAPPLICATION name = "appname"
application timeout - "#createtimespan(000,000,010,000)#">
I guess I thought it was a simple as this, but it doesn't seem to work. I know that there are probably a bunch of steps I am overlooking. I would prefer to stay away from having to use any kind of user login.
Any tips/help on what I should do would greatly be appreciated. Thanks!
Here is my situation: I have a program which runs on our company's intranet. Only one user will use this program. However, I want to set up the application framework such that if she is currently working on the program, application variables are set. That way, if she decides to go use another computer somewhere else (or, for some reason, someone else uses the program), the person at the new computer terminal has to wait 10 minutes from the last time the program was used. Then, after 10 minutes of inactivity, the program can be used again on a different machine.
I have been reading a CF book about using the CFAPPLICATION tag, and I think I am more confused than when I first read it. In my application.cfm file, I thought that I simply needed to set up the CFAPPLICATION tag such like:
<CFAPPLICATION name = "appname"
application timeout - "#createtimespan(000,000,010,000)#">
I guess I thought it was a simple as this, but it doesn't seem to work. I know that there are probably a bunch of steps I am overlooking. I would prefer to stay away from having to use any kind of user login.
Any tips/help on what I should do would greatly be appreciated. Thanks!