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.
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.
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?
You can look at the code in Logoff.aspx.cs to see how it is done.
Hope it helps,