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 6774381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:46:49+00:00 2026-05-26T15:46:49+00:00

i follwod the below thread for getting online users count : How to show

  • 0

i follwod the below thread for getting online users count :

How to show number of online users / visitors for ASP.NET website

it seems every thing is working and fine!
but my focus is on timeout of SessionState :

<system.web>

<sessionState mode="InProc" cookieless="false" timeout="20" />

</system.web>

i set that timeout on 1 minutes for get best results of online users!
but there is a problem here!
i want to keep my users alive about 2 or 3 hours on web site, so they do n’t need login again and again to web site.
is there a way to do something at start of timeout in SessionState?

thanks in davance

  • 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-26T15:46:50+00:00Added an answer on May 26, 2026 at 3:46 pm

    If you want to keep users logged in, but don’t want to use session state to store their login information then you will have to rely on some other information to check to see who the user is.

    This would probably entail writing out a cookie, and then when an unlogged (as far as session state is concerned) user enters the web site attempt to automatically log them in using the information in the cookie.

    It would be much easier (and probably more secure, easier to maintain and in many other ways better) to just use an out of proc session server (e.g. SQL Server) and then just set the session timeout to 180 minutes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I followd the android tutorial from: Android Develoer - CursorLoader example Im getting the
Is there any way in Mustache of limiting the number of characters a Mustache
The Code Snippet is as follwos namespace RecruiterWebService { /// <summary> /// Summary description
I need a solution for sorting of unix pwd file using C++ based on
I've followd the How I Test screencast at RailsCasts , however I ran into
I created a new c# project and follwed the steps from this tutorial to
Was wondering if somebody could please help me solve this. I've follwed all steps
I think my method is lame, but I cannot think of a better way
preg_match_all('/<p>.*:</p>/gm', $content, $matches); var_dump($matches); //ouput is NULL I want something like this: <p>The Ideal
I am writing a simple application that I would like to control with a

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.