Adjusting the browser timeout of a website

Hi All,

A company has provided us with a website for collecting data which is confidential.  The users  typically want the websites session to stay active for up to 1 hour of inactivity so they can leave and return as they please without losing their progress, but IT security want this to be 10 minutes... both are valid and understandable.

Most PC's have a screen lock of 10-15 minutes and will enable users to log back in and continue with their web session without losing data. We also have shared PC's that do not lock and I am looking for ideas of how we can adjust the times the session logs off locally or if this is possible at all?

Each computer have IE11 and Chrome installed

The risks are if the timeout is too long we have a data breach and if too short the system will not get used.
Matthew EmeryHomeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dr. KlahnPrincipal Software EngineerCommented:
There are several ways to do this but an obvious way is with a cookie.

For an X minute timeout:

When an HTTP request is received from a browser, check to see if that browser has a timer cookie from your site.

If not, provide the requesting browser a cookie with either a lifetime of X minutes, or (current time + X minutes) encoded in the cookie content.

If it already has a cookie, see if it has expired.

If so, forcibly log out the user and send them back to the home page.

If not, update the cookie expiration time to be the current time plus X minutes.

Encrypt the cookie content using (at least) a large pseudoprime and the browser's IP address as part of the en/decryption key so that it cannot easily be spoofed.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Matthew EmeryHomeAuthor Commented:
Thank you Dr. Klahn,

Although most of the development is in the hands of the supplier I like to have an understanding of how their system works to ensure access and data is secure in this case.  I will go away to research and test further.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.