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
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
{
...
}
精彩评论