Reputation: 69
How can I configure my membership provider to not use persistent cookies (i.e. to ensure that the member is logged out when the browser is close)?
Upvotes: 0
Views: 752
Reputation: 1038710
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.
Upvotes: 2