PilotBob wrote:
Otis wrote:
I can't reproduce what you see when I login automatically, so I have the feeling you login manually always when you access the forums. If that's the case, I can use that to reproduce it to see if I have to reschedule some code so I also call it when a user logs in manually
Normally, I log in automatically. What's weird is that when I login automatically I don't get the cookie named:
LLBLGen.com Forums LastVisitDate
correct, as the automatic login tracks the last visit date in the db, marks the 'lastvisitdate' in the session as valid and it's then used for tracking which threads are updated after your last visit. It's not tracked with a cookie anymore, only when you login manually. (That's an issue and related to this)
So when you login manually the session started under the anonymous user, you login, your user data is loaded but the lastvisitdate is still marked as invalid, as that's not updated, so no tracking is performed, i.e. no thread is compared with the last visit date as that's not available.
[qote]
I only get that cookie when I log in manually every time.
So, it may be that the date is being updated correctly but since there is no cookie with an auto login the new message indicators aren't working?
They're working, the date in the session isn't updated, so in THIS particular case they're not working, they do work with auto-login,
Also, didn't the new message indicator used to go off after you read the new topic? If it lights on all message created after your last visit date then how do you keep track of what you have read in your current session?
No that's not the case. It simply highlights threads which were updated after your last visit (it should do that anyway
) IF that lastvisitdate is valid in the session (there are situations where this isnt' the case, I've to look into these). it doesn't track threads you visited and there's also no mark everything as read. That's simply a lot of extra data to store and read which IMHO adds little to the forum.