sn_preload - This function is executed before all others code.
sn_logout ([login_table:string, cookie:string])
This function can be use to abort a request before doing it.
The defintion for this function is in /usr/local/website/conf/project.conf where project is the project name
This function inialize a cookie for the user. The cookie is en encrypted value with project name, client ip and date
The reload function check if the extention if the request is a .sn or .snc file. If the request if for the staging website and the user is not login, the request is set to /extenso/html/fr/login.snc.
If the request if for html/extenso/extranet and the user is not login, the request is redirected to /extenso/html/fr/login.snc.
This function must be installed manually and the server must be restart to load the function in memory.
The function does not return any value but set those variables
Written by Pierre Laplante
1.0 2014-09-09 21:24:14 laplante@sednove.com