Watch the Client Time
When writing a cookie to the client machine that contains the users roles (as part of a forms authentication setup), be mindful that the clients clock will determine when this cookie expires. If thei
ITPro Today
February 6, 2003
1 Min Read
When writing a cookie to the client machine that contains the users roles (as part of a forms authentication setup), be mindful that the clients clock will determine when this cookie expires. If their clock time is set incorrectly, the cookie could end up expiring before it can be read when redirecting from forums authentication. This would cause the roles cookie to appear not to be set and not give the proper role to the user. (And could cause the user to get stuck in an endless loop.)
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like