DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

AuthCookies table

Sort:
You are not authorized to post a reply.





Growing Member





    I see we recently got a new table on the database called AuthCookies. I guess this is used by the new GDPR stuff introduced recently in DNN. But how does it work? What does the info on that table mean?

    On some clients websites we see that we have there thousands of records and the table is becoming quite large.

    Should the records here be deleted from time to time? Is that done already and I just didn't find where?

    Vicenç Masanas
    Disgrafic ITec SL Banyoles - Spain





    New Around Here





      I had to double check, but no, it has nothing to do with GDPR. From the looks of it these are regular cookies for web authentication.





      Growing Member





        I second Vicenç's question, "On some clients websites we see that we have there thousands of records and the table is becoming quite large. Should the records here be deleted from time to time? "

        I am looking at a public site with approaching 200K records. If it doesn't clear regularly, I can see this growing to mammoth size





        New Around Here





          We have a public site with 1,7 million records in AuthCookies that uses 1.4 GB in the database, all created in the last 18 months.
          Are there any best practices how to handle this?

          AuthCookies was introduced in DNN 9.2.0





          New Around Here





            Meanwhile we have 2.2 million records in AuthCookies requiring 1.8 GB. Can we delete old records without risk?





            Growing Member





              Yes, I've added it to our list of maintenance queries where we clear out old records regularly





              Veteran Member





                FYI - The core of DNN really should be managing this for us all. We're discussing this in the bi-weekly Technology team meeting right now. Hopefully, we can have an issue created in GitHub and get this resolved soon - instead of people needing to manually clean this up in any way.





                New Around Here





                  We're just discussing it at the MVP meeting - here some insights:

                  Created here: https://github.com/dnnsof...rtalSecurity.cs#L550

                  Checked and removed in the cookie - but not in the DB here: https://github.com/dnnsof...ication.cs#L211-L220

                  Seems to be an oversight. Peter said he would have a quick look at it ;)






                  Veteran Member





                    As promised, Peter is looking into it... Thanks, Peter!  :)  

                    https://github.com/dnnsof...Platform/issues/4982

                    You are not authorized to post a reply.

                    These Forums are dedicated to the discussion of DNN Platform.

                    For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                    1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                    2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                    3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                    4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                    5. No Flaming or Trolling.
                    6. No Profanity, Racism, or Prejudice.
                    7. Site Moderators have the final word on approving / removing a thread or post or comment.
                    8. English language posting only, please.

                    Would you like to help us?

                    Awesome! Simply post in the forums using the link below and we'll get you started.

                    Get Involved