halfer / awooga-app

Web application to report coding tutorials of non-optimal quality
0 stars 0 forks source link

Store a report to the session if session expiry interrupts a save #21

Open halfer opened 9 years ago

halfer commented 9 years ago

It is possible to be working on a report and have the logged-in session expire before hitting save. The unfortunate result is that the form contents are thrown away, frustrating the user.

To combat this, we should save the form contents in the session, let the user know we still have them (and perhaps show them on-screen also so they can be copied) and restore them after sign-in.