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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:59:25+00:00 2026-06-10T08:59:25+00:00

Overview : I created a system that have Customer area and Admin area. Both

  • 0

Overview :
I created a system that have Customer area and Admin area. Both areas have different log-in page. A user can be logged in as User A in Admin area at the same time logged in as User B in Customer area.

When a user log-out from either Customer or Admin area, Session.Abandon() is called and it removes session in both Customer and Admin area which I don’t want to happen

Question : Can I abandon session on log-out without affecting other area’s session ? (i.e : When I log out from Customer area, I should stay logged-in in Admin area)

Update : I know Session.Clear() can be a workaround for this, but I’m afraid of the security risks it might impose.

  • 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-10T08:59:27+00:00Added an answer on June 10, 2026 at 8:59 am

    The core of the problem is that normally for one asp web application there is only one session (*) per the physical user’s browser. Without some really serious modifications to the site/frame/servercode structure, you are not able to create and mantain several parallel sesisons. Even your “.Session” hashmap provided by Pages and Controls always show the same keys/values..

    Some parts of your web app may use different keys and thus emulate “layers” or “modules” that does not intersect, but still this is only one storage..

    Thus, if you call Session-Abandon, you lose all – because it wa only one session out there..

    The only thing youcan do is to manually selectively clear the proper entries, like Rolice answered here in parallel:)

    (*) actually, when you do a Session-Abandon you are not removing/destroying the session. There still is an exactly one session. It has just forgotten all the data and now it is “empty” = so, like new. Well, ok, it maybe removes the old cookies, I dont remember, but they will be re-created with new fresh keys instantly upon next page render, so … rather immediatelly.

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

Sidebar

Related Questions

Overview: I have an advancedDataGrid that I am using a GroupingCollection on and I
So I have created a CSS3 animation that does not behave consistently across the
Overview: I have two pages in my program; the main page and the other
Overview I am generating a four page PDF document in an iPad application that
I've created a fiddle to demonstrate my issue: http://jsfiddle.net/motocomdigital/QyhpX/5/ OVERVIEW I'm creating a tabbed
Overview I have an iOS app which sends local notifications at specific dates. I
Overview I have an iOS project which contains 2 navigation controllers as shown in
I have created a minimal RCP project with the Hello World example. I have
I have the following issue: I want to display Tickets from a helpdesk system
Overview: We are looking to write a C# user interface to select parts of

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.