because you are using cookieless sesssion, check your web.config, try to set cookieless="false" or don't include it<configuration>
   <system.web>
      <sessionState mode="Inproc"
                    cookieless="true"
                    timeout="20" />
      </sessionState>
   </system.web>
</configuration>

解决方案 »

  1.   

    网站运行好长一段时间了,以前都没有问题,
    在这之前,我一直没有修改过web.config
    只是现在突然出现了我上面所说有哪种结果,
    我已经被困几天了.我的web.config里面的代码原来是这样的:   <system.web>        <!-- set debugmode to false for running application -->
            <compilation debug="false" />
            <sessionState cookieless="true" />
             
            <authentication mode="Forms" />
            
    <authorization>
        <allow users="*"/>
      </authorization>        <!-- set customeErrors off while developing -->
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
            <globalization fileEncoding="gb2312" requestEncoding="gb2312" responseEncoding="gb2312"/>    </system.web>
      

  2.   

    remove <sessionState cookieless="true" />
      

  3.   

    谢谢saucer(思归) 在saucer的指导下,问题已解决.