Jan 18

In order to prevent the users from using the browser’s back button use this login page.

Simply replace …/AwareIM/Tomcat/webapps/AwareIM/index.html with the following.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="JavaScript">
function doSubmit() {displayWindow = window.open('', "newWin","scrollbars=1,menubar=0,toolbar=0,resizable=1,location=0,status=0");
document.submitForm.submit();document.submitForm.reset();}
</script>
</head>
<body>
<div align="center">
<form name="submitForm" method="post" action="http://localhost:8080/AwareIM/logon.do?actionMethod=commit&amp;domain=CRM" target="newWin">&nbsp; Username<span>:</span> &nbsp;
<input name="username" size="17" type="text"><br>
<span>&nbsp;&nbsp;&nbsp;Password</span>:<span>&nbsp;</span>
<input name="password" size="17" type="password"><label></label><p> &nbsp;
<input name="button" value="Logon" onclick="doSubmit()" type="button"></p>
</form>
</div>
</body>
</html>

Please note that you have to modify the hostname and domain.

Also note that when running AwareIM on Linux the path names are case sensitive.

The above is a slightly modification from brad’s original posting on the AwareIM Forum

Leave a Reply

You must be logged in to post a comment.

preload preload preload

WP SlimStat