userIsOnlineTimeWindow and LastActivityDate

It makes logical sense, but just to confirm...

In order to use the userIsOnlineTimeWindow, I actually have to have a way of tracking the LastActivityDate, most likely in a database table.

And since I am using an existing database and tables and they haven't been tracking this and don't intend to add any new columns, I suspect I will have no need (or way) of tracking this in my CustomMembershipProvider and CustomMemberUser. Correct?

thanks.
LVL 2
Starr DuskkASP.NET VB.NET DeveloperAsked:
Who is Participating?
 
McExpCommented:
Ok, true.

I must have mis-understood your question, I thought you wanted to use these functions in your apps and need to know if it came for free or you had to impliment.
0
 
McExpCommented:
If you have implimented a custom provider then you are expected to store this information and also impliment the interfaces provideded by the MembershipUser class.
0
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
I disagree to the accuracy of that statement.

I would say you're expected to define it and throw an exception if you don't wish to use it, but as far as "expected to store this information"...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.