kemal-session icon indicating copy to clipboard operation
kemal-session copied to clipboard

Empty Sessions

Open crisward opened this issue 7 years ago • 4 comments

I noticed new 'empty' session objects get saved. As sessions are typically saved for an hour these can soon mount up, especially from clients which don't retain cookies (ie bots / webcrawlers etc).

I think it'd be a good idea if the various engines or the core library could prevent the saving of empty sessions, thoughts?

crisward avatar Jul 09 '17 18:07 crisward

This is a good improvement for sure

sdogruyol avatar Jul 10 '17 07:07 sdogruyol

I'll try an make some time to look at this and do pull requests on the various engines, or whatever is needed in core.

crisward avatar Jul 10 '17 07:07 crisward

Just came here to request the same thing. Another future, unrelated possibility: don't serialize it and save it if it hasn't changed...? :)

rdp avatar Mar 14 '20 04:03 rdp

@crisward @sdogruyol is this still an issue?

henrikac avatar Oct 04 '21 08:10 henrikac