Forum Moderators: open
i need to modify a cookie which expires at the end of the session. common browsers do not seem to save session-cookies to harddisk, so there's no way of editing in a conventional way.
does anyone know a browser which does save session-cookies to harddisk or how to manage this with mozilla / opera / whatever?
if not, are there programs which let you search for certain strings in ram (and change these)?
any other ideas?
thanks a lot.
So what you want - having the client change such a session variable - is impossible. And it should be, because sessions are meant for the website owner to control, up to a certain degree, the circumstances in which some parts of his website will perform for the client or not.
<John DeVie />
i don't want to mess around with sessionids anyways, but sometimes there are other values in this kind of cookies, too, which someone might want to change.
thanks.
But still, they were never meant to be changed, in any way, by the client. Sure, it must be possible to change it client-side, because every string of bits in memory, whether on your hard disk or your RAM, can be read and changed. But that must be considered as hacking/cracking which isn't exactly what these forums are for, is it?
<John DeVie />
A SESSION ONLY STORES A SESSION ID, NOTHING MORE ON YOUR PC.
ALL THE SESSION DATA IS STORED ON THE SERVER.
So the only thing you could be looking to change is the Session ID, and there is no VALID reason to do so.
If you can give a REAL example of what and why you would need to change this, by all means, do so.
again: i'm referring to a "session-cookie" as a cookie which gets deleted when the session ends. these can contain sessionids, but sometimes it is used for storing other information as well.
i can't give you a 'REAL' example, just asking for a general way to edit these. finally it's information stored on MY pc.
at least mozilla let's you see the content of the cookie, but you can't change it. edit: opera does, too.