Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7571597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:42:43+00:00 2026-05-30T15:42:43+00:00

I recently implemented a small snippet of javascript in my Master page that does

  • 0

I recently implemented a small snippet of javascript in my Master page that does an ajax request every 30 seconds to keep session alive. I know there are several questions regarding keep alive but I haven’t really been able to find answers to these specific questions.

My questions are:

  1. Is it safe to do this? As in, will this have any adverse effects if there are many concurrent users/connections?

  2. Can I implement an extended timeout using this method or will I have to use cookies?

  3. I don’t know much about cookies, but are these relatively acceptable to use now? or will there be users who don’t allow them – will they be able to use my site?

Thanks everybody!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T15:42:44+00:00Added an answer on May 30, 2026 at 3:42 pm
    1. Yes it’s safe. As far as load, that’s up to your hardware and how you write it, but it has no worse effect than users refreshing the page (arguably less considering the overhead of an AJAX call over a standard page load).
    2. You can adjust the timeout in the web.config if that’s what you’re asking…
    3. That’s a personal call on you. Cookies have their purpose, and I find them acceptable as long as it’s your domain, but do realize some people disable them and so it comes down to having a fall-back.

    Some things to keep in mind though:

    1. Banks use the same methodology to keep your session going while you’re checking your finances, but usually offer a popup just before to ask if you’d like to continue.
    2. Keeping a user forcefully logged in for longer than a normal duration can be a security risk (picture someone logging in at a library or school computer and leaving their desk–should that session continue on in to the next day [or longer]?)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently implemented a loading image and noticed that ever 10 seconds, that the
I have recently implemented an Action that toggles the enabled status of a business
I recently implemented a Jersey JAX-RS Rest service. I created a JIBX provider that
I have recently implemented something in a rails application that allows me to read
I recently had to implement a small check for any variables that might have
I have implemented a factory in my project and it was recently suggested that
I've recently implemented the ajax comet upload with progress found here: https://github.com/mbk/ajaxupload_with_comet When compiling
We recently implemented a new error page on our website which sends emails to
Recently I've implemented an application in Java that uses the Google Docs API v3.0
I recently implemented a class like: class TestClass : IDisposable { RegistryKey m_key; public

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.