Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application Framework

Status
Not open for further replies.

iao

Programmer
Feb 23, 2001
111
US
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 = &quot;appname&quot;
application timeout - &quot;#createtimespan(000,000,010,000)#&quot;>

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!
 
What do you mean by &quot;it doesn't seem to work&quot;? Does it not timeout after 10 minutes? You can also set the timeout in the CF Administrator. Calista :-X
Jedi Knight,
Champion of the Force
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top