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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:46:00+00:00 2026-05-27T17:46:00+00:00

i am working on a asp.net(with c#) web application and here i have problem.

  • 0

i am working on a asp.net(with c#) web application and here i have problem.

That i have a customer page(customer.aspx) and in this page a user can fill it’s information & user can also update if it’s already a regsitered user.

So whenver this page loads i check that a user is logged in or not using a session variable and if that session variable is set then user can update his/her information and here is the code of checking at customer.aspx

  protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["customerID"] != null)
            {
               //here is my code
            }

        }

but the issue is if my user click on logout then all goes fine but if user just press the back button of my browser(IE 7.0) then user is allowded to update his/her infomation and this should not happen. So please tell me solution for this problem.

my logout.aspx code is here :

protected void Page_Load(object sender, EventArgs e)
        {
            Session.Clear();
            Session.RemoveAll();
            Session.Abandon();
            Response.Redirect("login.aspx");
        }

so please suggest me solution for this issue.

  • 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-27T17:46:01+00:00Added an answer on May 27, 2026 at 5:46 pm

    Clear the Cache

    Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1)); 
    Response.Cache.SetCacheability(HttpCacheability.NoCache); 
    Response.Cache.SetNoStore();
    

    this link may help you

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

Sidebar

Related Questions

I am working on an asp.net/C# web application, In the main page: I have
I have working in asp.net web application. Here I need to run JavaScript before
I am working on an ASP.Net web application that must print dynamically created labels
I am working on an ASP.NET web application that is required to bring up
I'm working on a asp.net web application and one of the requirements is that
I ran into this dilemma when working on an ASP.net web application using Web
I'm working on a solution that has two projects: One ASP.NET web application, and
Here's what i have : ASP.NET 4.0 Web Application Forms Authentication (Cookie Based) Here's
I have a applet that runs with no issue in asp.net web application ...
The context I have an Asp .Net web application with some pages that inherit

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.