Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 611827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:49:34+00:00 2026-05-13T17:49:34+00:00

When is the LastActivityDate supposed to be updated? When I click on any other

  • 0

When is the LastActivityDate supposed to be updated? When I click on any other pages in my web application as an authenticated user, the LastActivityDate does not get updated.

I would imagine it should be updated when a user clicks on any page, whether it be to do with membership (change password, GetUser(), etc) or not. But the examples that I have seen, seem only to update it on ValidateUser().

http://msdn.microsoft.com/en-us/library/system.web.security.membershipuser.lastactivitydate.aspx

Under Remarks, it says to do it under ValidateUser method.

When do you update the LastActivityDate? Just inside ValidateUser()?

Thanks

Update: Clarified question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:49:35+00:00Added an answer on May 13, 2026 at 5:49 pm

    No, for it to get updated on each page request would require your pages to update it manually, but that would be a bad idea.

    The LastActivityDate refers to last activity within the domain of the membership provider i.e. authentication token request, change password etc.

    If you want to track page request per user that would be another domain, as is typically implemented as a log file of all page request per user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The site I am working on has the concept of a User and a
I have the following model public class UserViewModel { public String CVR_Nummer { get;
<asp:GridView runat=server ID=gridUserAccounts SkinID=gridviewSkin PageSize=5> <Columns> <asp:BoundField HeaderText=User Name DataField=UserName /> <asp:BoundField HeaderText=Email SortExpression=Email
So I get a date attribute from an incoming object in the form: Tue
my user's table in the database is becoming increasingly larger (in terms of columns
I would need to create a temp table for paging purposes. I would be
I have completed the MVC Music Store application, and now am making my own
I'm building ASP.Net MVC application kinda Game which deal a lot with online users
I had wrote a web site using asp.net mvc3 and used Membership class for
Okay still fighting with doing some SqlCacheDependecy in my Asp.net MVC application I got

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.