vakas
vakas

Reputation: 1817

i am unable to get the value of session

i am setting the session value but when i try to get it on other page its null

i am storing session in sql

previously it was wrking fine and still some session values are wrking ok

but when i add a new its null while getting it

Upvotes: 0

Views: 132

Answers (1)

Tobias Pirzer
Tobias Pirzer

Reputation: 1015

Just a small hint, but maybe it is helpful:

You've said that you store your session-object in Sql-Server - is it marked as Serializable? As this is necessary when Sessions are not inside Memory but StateServer or DqlServer?

Example:

    [Serializable]
    public class Account
    {
         ...
    }

Upvotes: 1

Related Questions