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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:46:19+00:00 2026-05-13T07:46:19+00:00

I have an asp.net website, where there is no where session is implemented. But

  • 0

I have an asp.net website, where there is no where session is implemented.

But i could see the session is timing out when i take the website after deploying in the production server …

i checked the session entries in the web.config file… and searched session in the code..

nowhere i find the entry…

now i want to put a message box while session timeout ..how to do this..please help!!

  • 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-13T07:46:19+00:00Added an answer on May 13, 2026 at 7:46 am

    Put this in your aspx html code

    <script language="javascript" type="text/javascript">
        setTimeout('SessionTimeout()', <%= Session.Timeout * 60 * 1000 %>);
        function SessionTimeout() {
            alert(<%= "'Session time out!!'" %>);
            window.location = "Default.aspx"
        }
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a asp.net website, there is a searchResult.aspx, it runs a sql script
I have an ASP.NET MVC website where I've established a system of Permissions. There
I have a asp.net website folder namely Website3 inside website3 folder there is a
I have a website written in Classic ASP and ASP.NET, after a few redirects
I have an ASP.NET website that uses mysql as it's database. I notice there
I have a asp.net website in the umbraco cms, there I can use razor
I have an asp.net website that uses forms authentication. There are a few things
I have an asp.net website, but I need to pass stuff to javascript to
I have an ASP.NET 4 WebForms website running off IIS 7, we have three
There are 5 websites in ASP.NET 2.0 which have the same code and database

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.