How to update last login date if “Remember Me” set?
问题 When a user logs in to my site, the date of the visit is stamped in the database (User table). This is handled by the (custom) membership provider. However, if the user checks the "Remember me?" option when logging in, they are (naturally) not prompted to log in on subsequent visits. As the membership provider is not employed in this situation, the last login date is not updated in the database. Using forms authentication, how can I ensure that the last login date is updated on each new visit