开发者

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

开发者 https://www.devze.com 2022-12-10 05:29 出处:网络
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

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

精彩评论

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