76 lines
1.7 KiB
HTML
76 lines
1.7 KiB
HTML
<HEAD>
|
|
<!-- application: Ctas a Pagar -->
|
|
<!-- version: 1.0 -->
|
|
<!-- company name: AdmiSys -->
|
|
<!-- filename: logout.html -->
|
|
<!-- description: destroy user's identifying cookies and return -->
|
|
<!-- to login screen -->
|
|
|
|
<server>
|
|
/*
|
|
*/
|
|
</server>
|
|
|
|
<server>
|
|
setLoggedOut();
|
|
client.id = null;
|
|
client.username = null;
|
|
client.prevPage = null;
|
|
client.fullname = null;
|
|
client.def_category = null;
|
|
client.def_project = null;
|
|
client.acl=null;
|
|
client.FrameType=null;
|
|
client.expiration(0);
|
|
client.prevPage = "logout.tml";
|
|
client.es_inicio=0;
|
|
client.ViewFkey = null;
|
|
client.MsgScroll = null;
|
|
client.objeto = ""
|
|
client.trans=null;
|
|
UnLoadParametros();
|
|
|
|
<!-- this doesn't seem to do anything! -->
|
|
<!-- client.destroy(); -->
|
|
if(database.connected)
|
|
database.disconnect();
|
|
|
|
//if (request.bb) {
|
|
// write("<SCRIPT LANGUAGE='JavaScript'>top.close();</SCRIPT>")
|
|
// redirect("go_page.html?page=initial.html?ipw=1");
|
|
// from button bar, already cleared frames
|
|
// chk_login();
|
|
// redirect("logged_out.html");
|
|
//<!-- redirect("initial.html"); -->
|
|
//}
|
|
//else {
|
|
// redirect("logged_out.html");
|
|
//}
|
|
</server>
|
|
<SCRIPT SRC="global.js">
|
|
</SCRIPT>
|
|
<SCRIPT SRC="ctasapagar.js">
|
|
</SCRIPT>
|
|
<SERVER>
|
|
<!--
|
|
writeln("<SCRIPT LANGUAGE='JavaScript'>")
|
|
writeln("function Go_Location() {")
|
|
if (request.alert)
|
|
writeln('parent.location.href=entorno.DirBase+"/logged_out.html?alert='+request.alert+'"');
|
|
else
|
|
writeln('parent.location.href=entorno.DirBase+"/logged_out.html"')
|
|
writeln('top.close()');
|
|
writeln("}")
|
|
writeln("</SCRIPT>")
|
|
//-->
|
|
</SERVER>
|
|
</HEAD>
|
|
<BODY ONLOAD="Go_Location()" >
|
|
|
|
</BODY>
|
|
</HEAD>
|
|
</HTML>
|
|
|
|
|
|
|