Solved

how to delete session in C#?

Posted on 2008-10-02
2
3,921 Views
Last Modified: 2013-12-17
I have a code

Session["Member"]

How can I delete that session when user press logout?

0
Comment
Question by:techques
2 Comments
 
LVL 3

Accepted Solution

by:
JMT116 earned 25 total points
ID: 22625981
Session.Abandon;

This will end the current session and call session_end event.
0
 
LVL 16

Assisted Solution

by:Gyanendra Singh
Gyanendra Singh earned 25 total points
ID: 22626108
Session.Remove("Member ") -> if perticlluar session want to remove

for clear all session

use

Session. Abandon();
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now