服务器资源占用严重.于是分离了几个栏目到另外的服务器上.
要实现两边站点的登录退出,怎样解决好?  或者是用中间页面怎么实现?

解决方案 »

  1.   

    http://www.21ds.net/article/article.php/128
    这里有你要的东西
      

  2.   

    分离了几个栏目到另外的服务器上.
    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.
      

  3.   

    是这样的.原来的服务器是写了一个验证登录并存COOKIE然后转向的页面. 通过其它页POST  UID跟PWD的值来验证登录.现在另外一个服务器也要实现登录,能否在一个服务器上登录的时候同时把UID跟PWD转到另外的服务器的登录页上?
      

  4.   

    以前听说过 修改WEBCONFIG 把东东
    把COOKIE放到SQLSERVER中
      

  5.   

    我已找到解决办法。有更好的就放分服务器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>