Two Laptop Bag*
The moose likes Ranch Office and the fly likes Autosave or increase session timeout? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Autosave or increase session timeout?" Watch "Autosave or increase session timeout?" New topic
Author

Autosave or increase session timeout?

Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
I will preface this by saying that I appreciate your efforts rebuilding the site. It is so much faster and it's good to see it using java now. I run a forum myself and I know how it is trying to work on them for free.

Anyways, I have lost my post several times (including, perhaps ironically, this one) b/c I pause and do some 'work' and come back to finish my post. Click submit, and poof, I get a login screen, whats more the back button yields a blank text area.

This is very frustrating b/c naturally it occurs when I have written a long post with lots of code and I lose it all.

In the past, I have incorporated autosaves which I don't think is necessary. IMO, the ideal solution would be to put a javascript 'pinger' that hits the server every 5 or 10 mins to keep the session active as long as the post page is open. I have done this before and will gladly offer my services for the bargain price of $5.99 / minute.

Seriously though, thanks for the site and keep up the good work!


http://www.goodercode.com
SCJP 1.4
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60746
    
  65

Or you could click the checkbox that says: "Log me on automatically each visit"


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
Bear Bibeault wrote:Or you could click the checkbox that says: "Log me on automatically each visit"


I generally shy away from those. I could also not leave a window sitting for over 20 minutes. Sorry, it was merely a suggestion.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60746
    
  65

Kerry Wilson wrote:I could also not leave a window sitting for over 20 minutes.

Why not?
Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
Bear Bibeault wrote:Why not?


I mean that it would solve my problems. Assuming the session timeout is 20 minutes.

What I really meant though is that my issue may be 'solvable' in the current system, but the solution doesn't make it any better for the end user experience.

Again it was just a suggestion. Love the site.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30057
    
149

Kerry Wilson wrote:What I really meant though is that my issue may be 'solvable' in the current system, but the solution doesn't make it any better for the end user experience.

You mean the end user who doesn't use cookies? I agree things would be less friendly for them. Weighing how many people are in that group, I suspect it's a small number. It's also a demographic who is likely to more conscious of losing content and would know to save the content in a text editor until done. By contrast, pinging the server uses bandwidth. Not much if you do it every 5-10 minutes instead of seconds. And there are many things we'd like to see done.

It is nice to hear the kind words about the site.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
Jeanne Boyarsky wrote:You mean the end user who doesn't use cookies?


I wouldn't get very far on the internet without using cookies at all. I just prefer not to leave open sessions on my computer, which is not as uncommon (hence the checkbox).


 
 
subject: Autosave or increase session timeout?
 
Similar Threads
Cleared SCJP2 exam
HTTPS Response Code
payment gateway integration
what is the salary of a person will get in CodeRanch site if he is a Author ? or a Bartender
RMI registry and remote object in different machines