Yes, you have two types of cookies associated with your browser. One is the permanent cookie (stored on users hard drive) and one is the per-session cookie (not stored on users hard drive).
The perm. cookie you have to set yourself or it will never be sent and stored on the users machine.
the per-session cookie is nothing more than a cookie with a unique ID for that user to your server during the duration of the session state between you and him. Anything you use within the session state while interacting with him Stay's on the server only...the only thing passed back and forth is the actual ID number, so if you use credit card numbers, or whatever as a session variable (
session("creditcard"
= Request.Form("userCCnumber"
), it is not passed to the user's machine and stored on it, so you don't have to worry about the security. When the session ends, that unique ID is destroyed.
To use the session state on your web site, they have to have their per-session cookies enabled. They don't have to have the stored cookies enabled, to use the session state.
You can run a check to see if the user has enabled their per-session cookies when they first come to your site, and if they don't have it enabled, display a message telling them to use your site they must enable it. If you want information on that, let me know.
Hope this helps. -Ovatvvon :-Q