logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Session-Timeout respecting mouse clicks but not a keypress
Author
potatan



Joined: 08 Mar 2013
Posts: 2
Location: UK

PostPosted: Fri 21 Feb '14 15:02    Post subject: Session-Timeout respecting mouse clicks but not a keypress Reply with quote

Hi

I've searched for an answer to this but can only find programmable fixes - I'm wondering if there is a conf file solution to my problem, as it is a third party application that we have no control over for programming.

We have a screen where users are filling out a form on our website, but if they don't click "submit" before the session-timeout limit, they are logged out and lose their work when they click the button.

So for instance with a timeout of 10 minutes, if it takes 15 minutes to construct their message, the connection will silently time out in the background with no warning.

Is there a way to make Apache respect a keypress/keydown/keyup as "activity", and maintain the session while the user is still typing?

Our server reports that it is using Apache Tomcat/7.0.39

Thanks in advance.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 24 Feb '14 12:08    Post subject: Reply with quote

Well you might send requests via ajax from time to time to the server.
Back to top
potatan



Joined: 08 Mar 2013
Posts: 2
Location: UK

PostPosted: Thu 27 Feb '14 11:26    Post subject: Reply with quote

Thanks for the suggestion but we don't have the ability to load or execute code on this server, so I was hoping for a simpler solution involving changing a setting such as in an XML or Conf file for instance.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 27 Feb '14 18:02    Post subject: Reply with quote

Do you have a reverse proxy in front of that server or just the tomcat?
Back to top


Reply to topic   Topic: Session-Timeout respecting mouse clicks but not a keypress View previous topic :: View next topic
Post new topic   Forum Index -> Apache