日期:2014-05-17  浏览次数:20946 次

再问 sso-session失效!
1、登录页面
http://localhost/hr/sso_hr.html
<html>
<HEAD> <TITLE> </TITLE> </HEAD>  
<BODY> <IFRAME   style= "BACKGROUND-COLOR:   #f7f7ff "   align=middle   marginWidth=0   marginHeight=0   src= "http://192.168.0.104/hr/sso_hr/sso_hr.asp "   frameBorder=0   width= "100% "   scrolling=yes   height= "100% ">  
</IFRAME> </BODY>
</html>

2、提交页面   192.168.0.104/hr/sso_hr/sso_hr.asp
<html>
<head>
</head>
<body>
<%session( "test ")= "test "%>
<FORM   method= "POST "   name= "myform "   action= "sso_hr_main.asp ">
</FORM>
</body>
<script   LANGUAGE=JAVASCRIPT   TYPE= "text/javascript "   >
    document.myform.submit()
</script>
<html>

3、结果页面   192.168.0.104/hr/sso_hr/sso_hr_main.asp
<%
response.write   "sid= "+session( "test ")
%>

session失效,各位高手没办法解决!解决了另送200分!

------解决方案--------------------
试试强制设置 ASPSESSION ID的COOKIE.
------解决方案--------------------
把Session写在global.asa当中
------解决方案--------------------
用cookie吧。