How to manage the session state outside the application

Hello Dear,
i m facing some problem with my web application (developing in ASP.Net). i want to manage the session even after i closed the application on client side.eg if any client 'ABC' open my web application 'XYZ' then after some time when clent 'ABC' close the browser ie Application 'XYZ'. then after some time again open the application on same client 'ABC'. Plz tell me how i can maintain the same session on that client without assign new session to that client 'ABC'.


can i solve this problem by storing the session in SQL Server.i don't want to create any cookie.

plz give reply ...... tell me how i can solve this problem.


with regards,
Ankush




Answer this question

How to manage the session state outside the application

  • GeorgeLuo

    but plz tell me how i can retrive same saession from SQL Server for same client how i can detect particular session belongs to witch client.

  • Thomas Fairris

    Hi ankush

    this issue can be solved using session management in SQL Server.

    to do it refer:

    http://idunno.org/dotNet/sessionState.aspx

    Thanks Manish



  • hgalyan

    There are numerous ways to do it.

    U can have a config file containing a GUID on client machine. every time u call ur web service, pass it and store it in SQL Server.

    On Next  call, again pass this GUID and check it agains the SQl Server value. and retrieve the session info.

     

    Thanks

    Manish



  • How to manage the session state outside the application