Sessions in Java script? RRS feed

  • Question

  • Hi all i have a situation where i need to send a hidden variable from .aspx to javascript and creating session in JS ans accessing that Session in Codebehind?

    whether is is possible.. if Yes plz help me out


    thanks in adavance

    Thursday, February 24, 2011 9:01 AM


  • Session is a ServerSide Object,you need not send to client side


    use HiddenField Webcontrol to do such work

    <asp:HiddenField ID="HiddenField1" runat="server" />

    • Marked as answer by Vasu Thota Friday, February 25, 2011 11:56 AM
    Friday, February 25, 2011 6:52 AM