Developer forum

Forum » Development » Problem with Security.Logoff

Problem with Security.Logoff

Anders Ebdrup
Reply

Hi Dynamicweb,

 

When using Security.Logoff() my user is logged off correctly, but when I am using Security.Logoff(false), the user is not properly logged off as it seems like this section is missing in the overloaded method:

        Dim oneSessionCookie = ContextManager.Cookies.GetCookie("DW_ExtranetSessionCookie")
        If Not IsNothing(oneSessionCookie) Then
            oneSessionCookie("DWExtranetUsername") = ""
            oneSessionCookie("DWExtranetPassword") = ""
            ContextManager.Cookies.SetCookie(oneSessionCookie)
        End If

 

I would be glad if the section above could be added to the code as well.

 

Best regards, Anders


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Anders

Yes of course - merged the 2 into one with an overload. TFS#19779.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum