At 2010-08-24 14:51, Helder Geovane wrote:
Would it be possible for a user to create a small javascript to replace the default cookie by another one which doesn't expires?
Probably not unless some browser don't respect HttpOnly flag of cookies.
But you could make an extension for a browser like Firefox and probably even GreaseMonkey script to do that.
Also some browsers (e.g. Opera) allow you to change cookie settings with their built in cookie managers. So you might set up cookie expiry for say... 2100-01-01 or something like that.
Regards, Nux.