用一个连接传递两个参数分别是平台系统的账号和密码,然后自动登陆进平台,以前实现过,当时的方案和代码意外丢失了,麻烦再帮帮忙。当初修改的business.html的代码如下:
<HTML>
<HEAD>
<title>Business业务架构平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</HEAD>
<BODY leftmargin="0" topmargin="0">
<OBJECT id = "BusinessX"
classid="clsid:B557E10A-2EA2-46C9-8F5F-3A3C9D471AE9"
codebase="BusinessX.CAB#version=3,0,0,1157"
width="100%"
height="100%"
align=center
hspace=0
vspace=0
>
</OBJECT>
<%
username=request("id")
password=request("pws")
Response.Write "<script type=""text/javascript\""> "
Response.write "BusinessX.ServerURL = ""Socket://10.141.165.195:2048""; "
Response.write "BusinessX.UpdateVersion(); "
Response.write "BusinessX.Init(); "
[B]Response.write "BusinessX.Logon("""&username&""","""&password&"""); "[/B]
Response.write "BusinessX.Run ("""", """", """", """"); "
Response.write "document.title = ""BusinessX.DisplayName""; "
Response.write "</script> "
%>
</BODY>
</HTML>
不记得LOGON事件是增加在系统哪个功能里,具体的代码当初如何写的,请帮忙查找一下,谢谢。 |