mbbc33:Try this...
<asp:LoginView ID="LoginView1" runat="server">
<LoggedinTemplate>
<asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="Redirect" LogoutPageUrl="[your logout page]" Style="position: relative" />
</LoggedinTemplate>
</asp:LoginView>
Revisiting the above as it only Logs out a user (FormsAuthentication). It does NOT clear your session variables. I have a "dirty" way of dealing with this where the Session.Clear (or Abandon) is run at the page the user is redirected to.
However, I'd prefer the "cleaner" way of doing so via the LoginStatus.LoggingOut Event which is easy if the LoginStatus control were on it's own. In the above example, it's within a LoginView Template...which surprisingly can't be referenced???
To rephrase: How can you capture the LoggingOut Event of the LoginStatus control if/when it is used inside a template (ex. LoginView above)?
Thanks...