csev / cc4e

C Programming for Everybody
https://www.cc4e.com/
Other
260 stars 90 forks source link

Session expiry #92

Open pranabsarma18 opened 2 months ago

pranabsarma18 commented 2 months ago

The login session expiry duration for www.cc4e.com is very short. While working on my assignment, I encountered an issue where I lost all my code because of the session expiry. I believe there should be a mechanism in place to automatically save the code every few seconds to prevent such incidents. Thank you.

csev commented 1 month ago

So I checked things out and the session duration is not the problem. As long as you don't close your laptop, your session will be extended indefinitely. However, there is not an auto-save and no Save button. Let me think a bit about the best way to go. Do you think an autosave every minute or so is the best idea?

pranabsarma18 commented 1 month ago

So I checked things out and the session duration is not the problem. As long as you don't close your laptop, your session will be extended indefinitely. However, there is not an auto-save and no Save button. Let me think a bit about the best way to go. Do you think an autosave every minute or so is the best idea?

Yes, I think autosave will be a good idea because sometimes while working on an assignment, I might want to take a break and come back again from where I left off with a fresh mind.