http://域名/(jz2nswywbqszk345r2cfwqqw)/WebForm1.aspx小弟钻研,请问这种有随即加密的域名是怎么生成的?谢谢.
(jz2nswywbqszk345r2cfwqqw)

解决方案 »

  1.   

    Web.config
    <sessionState cookieless="true" /> 
      

  2.   

    不懂,等待学习。
    URL重写自动生成?
      

  3.   

    这是为了支持无cookie的session, asp.net加的在web.config中设置<sessionState cookieless="true" />就可实现那样的效果
      

  4.   

    我按你说的放上去了罗.就是网站根目录下的WEB.CONFIG文件.但是没出现那个随机COOKIES,谢谢...
      

  5.   

    7楼说的对。对于网站的session来说,需要有一个session id,这个session id 要么放在cookie里,要么就在url里出现。web.config里的<sessionState cookieless="true" />  就是指定不要用cookie保存session id。你说放了但没出现,我想你一定没弄对。
      

  6.   

    <?xml version="1.0" encoding="gb2312"?>
    <configuration>
    <appSettings>
    <add key="Charset" value="gb2312" />
    </appSettings>

    <system.web>
         <compilation defaultLanguage="C#" debug="false"/>

    <!--如果为.net SDK 1.0及以前版本,请删除validateRequest="false" -->
    <pages validateRequest="false" enableSessionState="true" enableViewState="true"/> <customErrors mode="Off" />  <globalization fileEncoding="gb2312" requestEncoding="gb2312" responseEncoding="gb2312" culture="zh-CN" />

    <httpRuntime maxRequestLength="2048" />

    <httpModules>
    <add type="IWMS.URLRewriter.ModuleRewriter, IWMS_URLRewriter" name="ModuleRewriter" />
    </httpModules>

    <httpHandlers>
    </httpHandlers> </system.web></configuration>
      

  7.   

    http://blog.csdn.net/chinahuyong
    学习吧