我编写了一个简单的登陆程序,当点击登录按钮的时候,出现一个乱码的页面,再点击刷新的时候显示页面已经过期,这是什么原因?

解决方案 »

  1.   

    你是不是给web.config里的默认session有效期了,出什么乱码页面?
      

  2.   

    我没有改变web.config里面的设置,只是用Response.Redirect语句转向另一个页面时,出现乱码
      

  3.   

    下面是错误代码:
    Drco括P蕆_Y瓾TTP/1.1 100 Continue Server: Microsoft-IIS/5.0 Date: Wed, 06 Jul 2005 07:28:33 GMT X-Powered-By: ASP.NET HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Wed, 06 Jul 2005 07:28:33 GMT X-Powered-By: ASP.NET X-AspNet-Version: 1.1.4322 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 879
      

  4.   

    错误的代码如下:
    Drco括P蕆_Y瓾TTP/1.1 100 Continue Server: Microsoft-IIS/5.0 Date: Wed, 06 Jul 2005 07:37:04 GMT X-Powered-By: ASP.NET HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Wed, 06 Jul 2005 07:37:04 GMT X-Powered-By: ASP.NET X-AspNet-Version: 1.1.4322 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 879
      

  5.   

    charset=utf-8 
    字符集是utf-8的设置,IE是不是也应该调成utf-8来读?
      

  6.   

    http://forums.asp.net/739537/ShowPost.aspx