开发者

Logout member on browser close

How can I configure my membership prov开发者_StackOverflowider to not use persistent cookies (i.e. to ensure that the member is logged out when the browser is close)?


That's the default behavior of the membership provider (no persistent cookie is created). Pass true as second argument to the SetAuthCookie method if you want persistent cookies to be used.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜