Programmatic logoff?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/1/2008 9:41:26 AM
Gravatar
Total Posts 20

Programmatic logoff?

I've seen several threads about various ways of logging users into mojoPortal programmatically.  After reading through the documentation, I now have the opposite question: How do you log someone out of mojoPortal programmatically?

My situation is this: I have my site configured so that when a user logs into another part of my site as the administrator, it will automatically log them into mojoPortal as the administrator also.  Likewise, if the user logs into mojoPortal as the administrator, they are also logged into the other part of my site as the administrator.  This is all being handled with cookies.

Is there some sort of user logoff event handler I could use to ensure the user is logged out of both parts of my site when they use the Sign Off link in mojoPortal, similar to the user login event handler I am using during the login process?

 

Lorien

12/2/2008 4:51:27 AM
Gravatar
Total Posts 18439

Re: Programmatic logoff?

You can look at the code in Logoff.aspx.cs to see how it is done.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.