user181218
user181218

Reputation: 1695

Does the browser have cookies enabled?

Is there a standard technique for an ASP.NET application to check if a client's browser enables/supports cookies?

I'd appreciate any solution - even a less common one, as long as it's elegant enough.

10x!

Upvotes: 0

Views: 159

Answers (1)

Guffa
Guffa

Reputation: 700592

Well, the only way to check it is to try to set a cookie, then in the next request check if the browser sent it back.

Upvotes: 2

Related Questions