Static Site Integration - Login from static site home page

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
eyeargan
Posts: 55
Joined: Sat Mar 17, 2007 2:42 am

Static Site Integration - Login from static site home page

Post by eyeargan »

I would like to pass loginname and password info from text boxes on my static site to AwareIM.

How can I do this....

Thanks
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

pbrad
Posts: 781
Joined: Mon Jul 17, 2006 11:03 pm
Location: Ontario, Canada

Post by pbrad »

Hi,

Just a minor improvement on this script. Add a command to the script so that the username and password are reset on submit. Otherwise someone could just walk up and hit submit if the user is not at their computer and gain access. (Just add document.submitForm.reset(); after document.submitForm.submit();

In 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>

Cheers,
Pete
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

Many thanks for that ! Just changed it :oops:
Post Reply