Hello. I have a login page in which a user would enter a username and password. If the login is successful, a cookie is set that contains the username and encrypted password.
On every page in the secure area, the first thing I do is read those cookie variables and authenticate the user. If the variables are not present or altered, then the user gets dumped back to the login page.
However, I've noticed that I can log in, then delete the cookie on my machine and still navigate through the site as though my cookie was still there.
Does the browser keep cookies in memory? If so, is there any way to stop this?
Is there anything else I should be aware of that may be causing this behavior?
Using Apache on Red Hat with (at the moment) Internet Explorer browser. Oh, I send the header on every page to not cache the page, so it's not that.
TIA for any help!! Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com
On every page in the secure area, the first thing I do is read those cookie variables and authenticate the user. If the variables are not present or altered, then the user gets dumped back to the login page.
However, I've noticed that I can log in, then delete the cookie on my machine and still navigate through the site as though my cookie was still there.
Does the browser keep cookies in memory? If so, is there any way to stop this?
Is there anything else I should be aware of that may be causing this behavior?
Using Apache on Red Hat with (at the moment) Internet Explorer browser. Oh, I send the header on every page to not cache the page, so it's not that.
TIA for any help!! Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com