Click here to Skip to main content
16,018,805 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I am working on a project in which I am redirecting users to a different site from my existing site. The problem is that I want to have a control over the users who are transferred by my site to another site. I mean I want to log them out from the site they are redirected to. For example: my site is abc.com. I have another site xyz.com to which I am redirecting users. I want to log users out of xyz.com as per a logic working at abc.com. How I can do this??

I am using Asp.net, C# and adobe connect api.

Please suggest a solution. Let me know if my question is not clear. I'll update my question.

Thanks,
Jagjot
Posted
Updated 27-Jun-11 8:01am
v2
Comments
Uday P.Singh 27-Jun-11 13:48pm    
when do you want to log out the user? I mean at what action of user you want to make him log out?
Jagjot Singh 27-Jun-11 13:53pm    
I want to log him/her out at a particular time interval.
Uday P.Singh 27-Jun-11 14:31pm    
you can set session time out, when session expires the user will be logged out.
If want to know about that i can give you example.

1 solution

If you are using Forms Authentication use the SignOut method

http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.signout.aspx[^]

Also make sure to clear the session to prevent reentrancy
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900