After upgrading from asp.net 2.0 to 3.5, session do not work-VBForums
Results 1 to 2 of 2

Thread: After upgrading from asp.net 2.0 to 3.5, session do not work

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    363

    After upgrading from asp.net 2.0 to 3.5, session do not work

    I just upgraded one asp.net 2.0 (using vs2008) app to asp.net 3.5 (using vs2010) but session do not work. (pass a value from one page to another page)

    I used code in web.config file as below. Please help me.

    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="120"/>

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    4,223

    Re: After upgrading from asp.net 2.0 to 3.5, session do not work

    inproc and sql?
    What you try here is storing the session in memory but using an sql server to store it and all these remotely.
    Do you have a specific requirement for the session or it's just the default session?If so then remove all the session lines you have here from web.config.
    If you need something specific then have a look here:
    http://msdn.microsoft.com/en-us/library/ms178586.aspx
    Slow as hell.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.