0
votes

I need to show a message when a user's last login was before the last time we update a module.

I can get the users last login using a cookie (if need be) but I can't seem to find a way of extracting the date a module was last updated/uploaded.

I am able to create a moduelINfo object which has some date fields but their all MinValue is there a way of either: 1) Retrieving the date a module was uploaded 2) Automatically saving the date as a portal/moduleSetting when we upload or compile the module (ChrisToc) 3) Some other means of testing whether a user's last visit was before the last update.

Thanks

1

1 Answers

1
votes

You will probably end up having to do this by looking directly at the Database, in the DESKTOPMODULES table, to see when the LastModifiedOnDate column is updated for the module in question. I don't know that DNN keeps track of module versions like it does with the platform itself (DNN uses the Versions table)