S
StanD
When a client enters the site I check for a persistent cookie of short
duration, and if present decrypt it to obtain identification data, that is
restored to the session state if necessary. the Protection parameter in the
web config file is set to "All". The host server is running W2003 os, which
is recycling every 10 minutes. When recycling occurs, and a client's cookie
checked thereafter, the decryption causes an exception with the message "bad
data". Someone suggested setting the Protection parameter to "None", which
works fine, and decryption is successful. What bothers me is concern over
security. What is the price? The cookie appears to be encrypted. I would
like to know if decryption can be made to work across recycling with optimum
security.
Appreciate your thoughts.
duration, and if present decrypt it to obtain identification data, that is
restored to the session state if necessary. the Protection parameter in the
web config file is set to "All". The host server is running W2003 os, which
is recycling every 10 minutes. When recycling occurs, and a client's cookie
checked thereafter, the decryption causes an exception with the message "bad
data". Someone suggested setting the Protection parameter to "None", which
works fine, and decryption is successful. What bothers me is concern over
security. What is the price? The cookie appears to be encrypted. I would
like to know if decryption can be made to work across recycling with optimum
security.
Appreciate your thoughts.