Hello!
I have a sitemap and i want to include a "Log Out" link. All i need to do is call the FormsAuthentication.SignOut() function when the node is clicked. Is it possible to add an event handler to a sitemap node from which i can call this code?
I have thought of two other solutions but they seem messy. The first is to add a link button to the MasterPage (just next to the sitemap menu) and add this event handler there. The second solution is to set the URL of the sitemap to point to a page that signs the user out in it's On_Load() event.
Is there a neat way to doing this? Thanks! :) - Callam