Multiple session timeouts for remote functions
Coldfusion Session Timeout:
Been reading through numerous posts regarding this.sessiontimeout and how to adjust it depending on who/what is running. For instance, My users log in, and I want their sessions to end in 10 hours (I know, but I have people who don't do anything for hours and don't want to have to log back in). I have a program that runs, and I need those sessions to end in 5 seconds of inactivtity (or I end up with hundreds of sessions showing up on fusionreactor).
Reading through the various articles, I'm getting mixed messages.
So, my question....
If I invoke a remote CFC from another server, it creates a session. If I put at the top of the Application.cfc
<cfif findnocase(ListLast(CGI.SCRIPT_NAME, "/"), "Viewall") gt 0>
<cfset this.sessiontimeout = CreateTimeSpan(0,0,0,5)>
</cfif>
Did I just set the sessiontimeout for EVERYONE or just for that "Viewall" call?
REALLY, thank you for your time.
