I've previously successfully used cookies to remember what user is using my site (it's an advanced educational system). Currently the cookie just stores the username of the person using the system.
However I have recently discovered a rather disturbing fact. Potentially someone could change the name in their cookie manually, and thus access someone else's account (without obviously needing a password).
However my question is, if the cookie is only stored temporarily during the browser session (i.e. there is no set expiry date so it is deleted when the user closes the browser) then is it actually stored anywhere accessible to the user?
If it is still accessible or there is some other way that malicious users could use this problem to their advantage, could you suggest a suitable alternative?
Any help fully appreciated,
Jamie Frost
www.tiffinmaths.co.uk