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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:30:05+00:00 2026-06-13T15:30:05+00:00

I have an ASP.NET web app that uses a single page, but makes some

  • 0

I have an ASP.NET web app that uses a single page, but makes some controls invisible and others visible throughout the workflow. It’s a fairly simple application, which is why it just uses one page.

I’m not sure though how to reload the page when a user clicks a cancel button, or when they complete the workflow. Here’s some details about the application workflow…

  • The page loads and displays a LoginTable control with a dropdown list with employee names, and a pinpad where a pin number is entered for the selected employee, and a login button.
  • On clicking the login button, a postback occurs where the pin is validated, and if valid, the Table control that holds most of the page contents (except the header) gets made invisible, and a new Table control gets made visible depending on the current status (clocked in or out).
  • At this point, either the ClockInTable or ClockOutTable control are visible, and the LoginTable control is invisible. The user can either click a Cancel button, or a Clock In / Out button (with some other things to select if clocking in, like work site and job).

What I want is, when the user either clicks the Cancel, Clock In or Clock Out buttons (after any other processing on postback), for the page to load again with a new session and showing the main LoginTable again just as if the user had restarted the browser and opened the page for the first time.

I’ve tried using Session.Abandon(), and then in the Global.asax Session_End event, I do
Response.Redirect(“Login.aspx”);

This doesn’t work though; it still just reloads the same view of the page.

How do you reload the page (not refresh the page) as if it were the first access (i.e. not a postback)?

Also, I’m new to ASP.NET, so if I’m misunderstanding how a session works, please let me know.

  • 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-06-13T15:30:07+00:00Added an answer on June 13, 2026 at 3:30 pm

    Have you tried Response.Redirect()-ing the user to the same page? That should load the page as if it were a new one. It won’t lose the session data though.

    • 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 web forms app that uses System.Web.Caching.Cache to cache xml data
I have put together a simple ASP.NET MVC 3 test web app that uses
I have an unconventional legacy asp.net 1.1 web app that uses the src attribute
I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an
I have an existing asp.net web app that uses facebook to authenticate users. I
I have an ASP.NET 4 Web Forms app that is using URL Routing. I
I have a SQL query in my ASP.net web app that looks like this:
Have an ASP.net web app which works fine for a few days, but then
I have a asp.net/c# web app. When do user leave a certain page, I
I have a ASP.NET Web Forms application that internally makes many SOAP and REST

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.