I think I might have found a
very simple solution to the problem that nothing happens on logout. At least when you're using
session based login...
I modified the logout function to this:
Code:
protected void LinkButtonLogout_Click(object sender, EventArgs e)
{
Member.ClearMemberFromClient(Member.GetCurrentMember().Id);
Session.Clear();
Response.Redirect(Request.RawUrl, true);
}
I have tried this with IE6, IE7, Safari 3 and FF2 and it seems to be working as expected.
One possible drawback of this might be that this session might appear to be two different ones in your website statistics...
// ; ) Kalle
" - Yeah I'd like to share your point of view, as long as it's my view too... (
http://www.d-a-d.dk/lyrics/pointofview)