关于跨服务器存cookie,求解决办法 服务器资源占用严重.于是分离了几个栏目到另外的服务器上.要实现两边站点的登录退出,怎样解决好? 或者是用中间页面怎么实现? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://www.21ds.net/article/article.php/128这里有你要的东西 分离了几个栏目到另外的服务器上.NO, I think this solution is not good.Do you now that one domain name can have many ipaddress?Or you can request one ipaddress and redirect another server.I think this solution is ok, microsoft.com is this solution. 是这样的.原来的服务器是写了一个验证登录并存COOKIE然后转向的页面. 通过其它页POST UID跟PWD的值来验证登录.现在另外一个服务器也要实现登录,能否在一个服务器上登录的时候同时把UID跟PWD转到另外的服务器的登录页上? 以前听说过 修改WEBCONFIG 把东东把COOKIE放到SQLSERVER中 我已找到解决办法。有更好的就放分服务器1栏目页面<iframe src="post.asp"></iframe>post.asp:<%url = "http://服务器2/栏目页"%><form action="<% Response.Write(url) %>" method="post" name="form1" id="form1"> <input name="id" type="hidden" value="<%=request.Cookies("id")%>"> <input name="uid" type="hidden" value="<%=request.Cookies("uid")%>"></form><Script>form1.submit();</Script> Gridview 和FormView问题 为什么Controls可以找到控件,而FindControl找不到 为何更新不成功 主页生成HTML [求证] 同样的程序在不同的.NET版本会有不同的结果 类型“TextBox”的控件“tb1”必须放在具有 runat=server 的窗体标记内。 在线编辑器不能上传图片的问题(急!!!在线等) 运行vs2005提示“无法附加,函数不正确” 连接数据老是连不上,请帮我看看,谢谢 我的treeview又出问题了,高手来看看 请教一分类显示效果: 各位兄弟帮忙看看
这里有你要的东西
NO, I think this solution is not good.
Do you now that one domain name can have many ipaddress?
Or you can request one ipaddress and redirect another server.
I think this solution is ok, microsoft.com is this solution.
把COOKIE放到SQLSERVER中
<iframe src="post.asp"></iframe>
post.asp:<%
url = "http://服务器2/栏目页"
%>
<form action="<% Response.Write(url) %>" method="post" name="form1" id="form1">
<input name="id" type="hidden" value="<%=request.Cookies("id")%>">
<input name="uid" type="hidden" value="<%=request.Cookies("uid")%>">
</form>
<Script>form1.submit();</Script>