直接在aspx页面用<%response.write(Session["mm"])%>好象不行如果要直接在页面输出Session值 该咋写

解决方案 »

  1.   

      Me.Session("Name") = "flysun0311"
            Response.Write(Me.Session("Name"))
    只是要值的问题可以用一个变量把它替换掉就象控制变量一样就可以了
      

  2.   

    直接写<%=Session["mm"]%>就可以了吧
      

  3.   

    <%response.write(Session["mm"].ToString())%>
      

  4.   

     <%Response.Write(Session["mm"]);%>
    这样可以,试过了
      

  5.   

    <%=Response.Write(Session["mm"].ToString())%>