forked from UCLALibrary/public_service_statistics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Application.cfm
24 lines (22 loc) · 880 Bytes
/
Application.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<cfapplication name="Statistics"
clientmanagement="no"
sessionmanagement="yes"
setclientcookies="yes"
setdomaincookies="no"
sessiontimeout="#CreateTimeSpan(0, 4, 0, 0)#">
<cfif IsDefined( "Cookie.CFID" ) AND IsDefined( "Cookie.CFTOKEN" )>
<cfcookie name="MyCFID" value="#Cookie.CFID#">
<cfcookie name="MyCFTOKEN" value="#Cookie.CFTOKEN#">
</cfif>
<cfif FindNoCase("unitproj", CGI.SERVER_NAME) EQ 1>
<cfset CircStatsDSN = "Public_Service_Stats">
<cfset APPLICATION.dsn = "SIA">
<cfelse>
<cfset CircStatsDSN = "PSS_Test">
<cfset APPLICATION.dsn = "SIA_Test">
</cfif>
<!---CFSET CircStatsDSN = "PSS_Test"> <!---"Pub_Stats_Report"--->
<cfset APPLICATION.dsn = "SIA_Test"--->
<cfset APPLICATION.HostServer = CGI.SERVER_NAME>
<cfparam name="SESSION.IsValid" default="0" type="boolean">
<cfparam name="SESSION.LogonID" default="">