Sqlserver sessionstate concern

Discussion in 'Site Programming, Development and Design' started by TimM, Jan 1, 2015.

  1. I followed the instructions on the following page to change my site over to sqlserver sessionstate mode.

    https://support.Winhost.com/kb/a626/how-to-enable-asp_net-sql-server-session-on-your-web.aspx

    After I received an email back from Winhost that the database schema was updated, I changed my webconfig according to the article. However I initially got an error that required me to update the attribute to allow a custom database. This was different than what the article showed. Making this change corrected the error and allows the website to function. My webconfig contains the following now:

    <sessionState
    mode="SQLServer"
    timeout="15"
    cookieless="true"
    allowCustomSqlDatabase="true"
    sqlConnectionString="Data Source=tcp:s08.Winhost.com;database=xxxxxx;User ID=xxxxx;Password=xxxxx;Integrated Security=False;">
    </sessionState>

    However, now when I go to any page on my website, the url is changed to include what appears to be the "serialization" info:

    http://www.tripleblitz.com/(S(otrptjf4it5twtb5apceqxbh))/default

    I am not sure if this occurs because I am in sqlserver mode, or because I am using a custom sql database name. Is there a way to prevent /(S(otrptjf4it5twtb5apceqxbh))/ from showing in the url?
     
    Last edited by a moderator: Oct 14, 2015
  2. FredC

    FredC Winhost Staff

    set cookieless to "false"
     
    Michael and ComputerMan like this.
  3. That did the trick. Thank you.
     
    Michael and ComputerMan like this.

Share This Page