开发者

Will ValidateUser() method in the database layer set the cookie?

I want all interaction with the db to occur on the db layer. So, when using the membership API's ValidateUser() method, I call down to it. Will this set the cookie or does it need to be called in the ui layer for a coo开发者_JAVA技巧kie to be set?


It needs to be done somewhere where the Response is generated, which is generally in a page class.

So it won't work in a DB layer.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜