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