开发者

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


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
    {
         ...
    }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜