拜托了,专家!!!!
asp的 部分代码:
-----------------------------------------------------------------------------------------------------
set rs=server.createobject("adodb.recordset")
sql="select * from xs_ry_qx where dlm='"&request("text_dengluming")&"'"'从人员表名为ry,人名为uid
rs.open sql,conn,1,1
if not(rs.bof and rs.eof) then
if password=rs("mima") then
response.cookies("user_dlm")=rs("dlm")
response.cookies("user_ryxm")=rs("ryxm")
response.cookies("user_pass")=rs("mima")
response.cookies("user_rygzdwdm")=rs("rygzdwdm")
response.cookies("user_sfsy")=rs("sfsy")
if isnull(rs("ryqxdm")) then
response.cookies("user_ryqxdm")=""
else
response.cookies("user_ryqxdm")=rs("ryqxdm")
end if
end if
end if
------------------------------------------------------------------------------------------------------
<script>
function open_window()
{
var A;
var B;
var targeturl;
A=window.screen.width;
B=window.screen.height;
newwin=window.open("","","status=no,scrollbar=yes,location=no,resizable=no,menubar=no,toolbar=no");
if (A==800&&B==600){
alert("该系统应在1024*768现实模式下正常使用!请先更改现实模式后再重新登录!")
}
else{
newwin.moveTo(0,0);
newwin.resizeTo(screen.availWidth,screen.availHeight);
targeturl="mzgl/login.aspx;
newwin.location=targeturl;
window.opener=null
window.close()
} open_window()
</script>
------------------------------------------------------------------------------------------------------问题:在原来的asp项目下,新建个.net界面(mzgl/login.aspx),来接受asp页面中上述信息,传递是通过的cookie的?应该怎么代码,才能得到cookie。。。拜托了,专家,已经折腾了我好一段时间,拜托了,专家。。。