Introduce DataBase,Asp.net,JavaScript,Xml,Html,Css,Sql,Php,ASP.NET Controls,AJAX,Tools,HTML,CSS,JavaScript,Open Source Project,WPF,.Net Framework,Linq
Top Recommended Hosting

Can I click to end a session

by the3factory 5/6/2008 8:23:00 AM
Question:

Is there a way in membership to end a specific users session?

When I open my page that shows me the users that are online, it shows users online even if they have logged out using my logout page with Session.Abandon().

I would like to end that users session with the click of a button or link.


Answer1:

on button click Use Session.Remove("sessionName");

jigneshYes 


Answer2:

This might sound like a silly question, but what is the SessionName?


Answer3:

I have a page that lets me select a row in a gridview and see membership and profile information about the selected user. I can see if the user is online or not. If I know they are not online anymore I would like to click a button/link and end that users session.

How can this be done?


Tags:

Related posts

Sign up for PayPal and start accepting credit card payments instantly.


Powered by BlogEngine.NET 1.2.0.0