SQL Server session state not working unless cookieless=true

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MPF

    SQL Server session state not working unless cookieless=true

    Thanks in advance for any info.

    If the cookieless=true is turned on, the sessions are stored in the
    database. If cookieless=fals e, 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 "

    sqlConnectionSt ring="Database= ASPState;Server =.;User=sa;Pass word=test;"
    allowCustomSqlD atabase="true">
    </sessionState>
  • MPF

    #2
    Re: SQL Server session state not working unless cookieless=true

    The setup works ok in VS 2005, must be specific to VS2008 & Framework
    3.5.
    Thoughts anyone?
    On Nov 26, 1:39 pm, MPF <morgan.fe...@g mail.comwrote:
    Thanks in advance for any info.
    >
    If the cookieless=true is turned on, the sessions are stored in the
    database. If cookieless=fals e, 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 "
    >
    sqlConnectionSt ring="Database= ASPState;Server =.;User=sa;Pass word=test;"
    allowCustomSqlD atabase="true">
    </sessionState>

    Comment

    Working...