SQL Server session state not working unless cookieless=true

Discussion in 'ASP .Net' started by MPF, Nov 26, 2007.

  1. MPF

    MPF Guest

    Thanks in advance for any info.

    If the cookieless=true is turned on, the sessions are stored in the
    database. If cookieless=false, then no attempt to use the database is
    made. I verified this by putting an invalid password in the connection
    string and it didn't error out unless cookieless=true was set. BTW,
    this is in VS2008.

    Any thoughts?

    Thanks,
    Morgan

    <sessionState mode="SQLServer"

    sqlConnectionString="Database=ASPState;Server=.;User=sa;Password=test;"
    allowCustomSqlDatabase="true">
    </sessionState>
     
    MPF, Nov 26, 2007
    #1
    1. Advertisements

  2. MPF

    MPF Guest

    The setup works ok in VS 2005, must be specific to VS2008 & Framework
    3.5.
    Thoughts anyone?
    On Nov 26, 1:39 pm, MPF <> wrote:
    > Thanks in advance for any info.
    >
    > If the cookieless=true is turned on, the sessions are stored in the
    > database. If cookieless=false, then no attempt to use the database is


    > made. I verified this by putting an invalid password in the connection
    > string and it didn't error out unless cookieless=true was set. BTW,
    > this is in VS2008.
    >
    > Any thoughts?
    >
    > Thanks,
    > Morgan
    >
    > <sessionState mode="SQLServer"
    >
    > sqlConnectionString="Database=ASPState;Server=.;User=sa;Password=test;"
    > allowCustomSqlDatabase="true">
    > </sessionState>
     
    MPF, Nov 26, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shamanthakamani
    Replies:
    1
    Views:
    3,782
    Natty Gur
    Nov 20, 2003
  2. Not Liking Dot Net Today
    Replies:
    0
    Views:
    910
    Not Liking Dot Net Today
    Apr 21, 2004
  3. Maciek
    Replies:
    0
    Views:
    8,584
    Maciek
    Sep 15, 2005
  4. Jayesh
    Replies:
    0
    Views:
    718
    Jayesh
    Oct 31, 2006
  5. Harry Haller
    Replies:
    0
    Views:
    1,869
    Harry Haller
    Nov 7, 2006
  6. Replies:
    1
    Views:
    619
    bruce barker
    Mar 7, 2007
  7. bdb112
    Replies:
    45
    Views:
    1,988
    jazbees
    Apr 29, 2009
  8. sunkrajesh
    Replies:
    0
    Views:
    521
    sunkrajesh
    May 31, 2009
Loading...