82 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert rti_wtk_common
 | |
| /*------------------------------------------------------------------------------
 | |
| 	Author	: David Goddard, WinWin Solutions Australia Pty Ltd
 | |
| 	Date	: 26 April 2006
 | |
| 	Purpose	: OpenInsight Web Toolkit Common
 | |
| ------------------------------------------------------------------------------*/
 | |
| 	
 | |
| common /wtk/ wtk_siteConfig@, wtk_sessionId@, wtk_sessionRec@, wtk_refresh@, wtk_serverURL@, wtk_requestOrig@, wtk_siteID@, wtk_responseHeader@
 | |
| 
 | |
| /* wtk_siteConfig@ settings */
 | |
| equ wtk_siteName$				to 1
 | |
| equ wtk_siteURL$				to 2
 | |
| equ wtk_siteAppId$				to 3
 | |
| equ wtk_gateway$				to 4
 | |
| equ wtk_sessionFileName$		to 5
 | |
| equ wtk_systemProcs$			to 6
 | |
| equ wtk_badProcNameError$		to 7
 | |
| equ wtk_sessionTimeOut$			to 8
 | |
| equ wtk_SessionLastArchiveDate$ to 9
 | |
| equ wtk_anonProcs$				to 10	;* multivalued list of procedures that can be run anonymously, * = all procedures can run anonymously, null = no procedures can run anonymously.
 | |
| equ wtk_loginProc$				to 11	;* the name of the procedure to run to authenticate the user. 
 | |
| equ wtk_authProcs$				to 12	;* multivalued list of procedures that can be run authenticated. null = all procedures run authenticated. 
 | |
| equ wtk_siteIdOnlyProcs$		to 13	;* restrict the running of procedures to only those starting with INET_siteid_
 | |
| equ wtk_htmlFileName$			to 14		
 | |
| equ wtk_templateFileName$		to 15
 | |
| equ wtk_mailServerIn$			to 16
 | |
| equ wtk_mailServerOut$			to 17
 | |
| equ wtk_mailServerUsername$		to 18
 | |
| equ wtk_mailServerPassword$		to 19
 | |
| equ wtk_consoleLog$				to 20	;* Boolean - When true, WWA_WTK_CONSOLE will log all requests for this site to WWA_WTK_CONSOLE_LOG
 | |
| /* 21 ~ 30 = Console Log settings */
 | |
| equ wtk_requestCount$			to 21
 | |
| equ wtk_serverURLs$				to 22
 | |
| equ wtk_serverPorts$			to 23
 | |
| equ wtk_applicationNames$		to 24
 | |
| equ wtk_userNames$				to 25
 | |
| equ wtk_userPasswords$			to 26
 | |
| equ	wtk_engineNames$			to 27
 | |
| equ wtk_procedureNames$			to 28
 | |
| equ	wtk_serviceNames$			to 29
 | |
| equ wtk_noLogProcedures$		to 30
 | |
| equ wtk_procedurePrefix$		to 31
 | |
| equ site_loginUrl$				to 32
 | |
| equ site_landingPageUrl$		to 33
 | |
| equ site_template$				to 34
 | |
| equ site_httpHeaderKeys$		to 35
 | |
| equ site_httpHeaderValues$		to 36
 | |
| 
 | |
| 
 | |
| 
 | |
| equ wtk_cartProdTable$			to 40
 | |
| equ wtk_cartProdDescCol$		to 41
 | |
| equ wtk_cartProdPriceCol$		to 42
 | |
| 
 | |
| 
 | |
| /*	These values are not stored, they are set by a process and the text is
 | |
| 	swapped out when the page template is loaded */
 | |
| 	
 | |
| equ wtk_pageHeaderText$			to 101
 | |
| equ wtk_pageHeaderToolbar$		to 102
 | |
| equ wtk_pageFooterText$			to 103
 | |
| equ wtk_pageFooterToolbar$		to 104
 | |
| 
 | |
| 
 | |
| /* wtk responseHeader settings */
 | |
| equ wtk_respHdr_contentType$	to 1
 | |
| equ wtk_respHdr_location$		to 2
 | |
| equ wtk_respHdr_cookies$		to 3
 | |
| equ wtk_respHdr_options$		to 4
 | |
| equ wtk_respHdr_status$			to 5
 | |
| equ wtk_respHdr_noCache$		to 6
 | |
| equ wtk_httpHdr_other$			to 7
 | |
| 
 | |
| equ wtk_httpHdr_cookie_name$	to 1
 | |
| equ wtk_httpHdr_cookie_value$	to 2
 | |
| equ wtk_httpHdr_cookie_path$	to 3
 | |
| equ wtk_httpHdr_cookie_expiryDate$	to 4
 | |
| equ wtk_httpHdr_cookie_expiryTime$	to 5
 | |
| equ wtk_httpHdr_cookie_httpOnly$	to 6
 | |
| equ wtk_httpHdr_cookie_secure$		to 7
 | |
| 
 |