Ask a Jedi: Using Cookies for Client Management

Here is an interesting question:

Why would you want to use cookies to store client variables vs. using the registry or external database?

To be honest, I don’t know why. If you want to use client variables, I’d suggest using a database. You want to avoid the registry for sure. The only reason I could come up with to use cookie variables would be if you were at an ISP and only had one DSN. You would probably want to use that for your own content instead of the client variables.

Has anyone used cookies for client variables before?

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Comments