Sounds reasonable to me.
The code you want lives in
src\main\org\h2\server\web\WebApp.java
src\main\org\h2\server\web\WebSession.java
search for "@history" and follow the code.
I suspect that the easiest option would be to have the console webapp store the history data using the
java.util.prefs.Preferences stuff.
On 2014-05-28 16:18, Martin Grajcar wrote:
The console history is a nice feature, but sometimes I get kicked out and have
to log in again and the history is gone.
I don't know exactly when and why I get kicked out. Is there something I could
do about it?
I didn't mean the persistency literarily, it's just that I'd love if it could
survive such events. Using cookies or
browser local storage or whatever... I guess I could do it myself, but first
I'd like to know your opinion. Does it make
sense? Where to start?
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.