Author |
Topic |
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 03 January 2004 : 13:23:44
|
Is it possible to include a function in Snitz, than can delete cookies set by the board, like InvisionBoard has? The reason Iīm asking is because some of my users apparently have problems with the cookies, even after I asked them to delete all their cookies. |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 03 January 2004 : 15:48:28
|
what are you trying to clear from the cookie ? very little is actually stored in it that would require clearing out. |
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 04 January 2004 : 04:56:14
|
Active Topic count is wrong for some users. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 04 January 2004 : 05:02:22
|
quote: Originally posted by wii
Active Topic count is wrong for some users.
What active topic count ?
do you mean the one on default.asp ? if so how do they know it is wrong, since it can be different for everyone, it certainly is not related to your cookie, the active topic count relates to last_here_date which is stored in the database and as a session variable not a cookie |
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 04 January 2004 : 05:05:27
|
ok, my mistake then, itīs the last here date that seems to be wrong, I just thought it was a cookies problem, because I donīt have it, and Iīm clearing my cookies often.
The session variable last_here_date where is that generated and how should the code look like? |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 04 January 2004 : 05:28:32
|
The readLastheredate function in inc_func_common, it calls the updateLastheredate function |
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 04 January 2004 : 05:32:19
|
Thanks. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 04 January 2004 : 05:38:14
|
the only think I can think is that either the session is not getting expired or the data is not being written to the db correctly.
Can't think of anything else to check. |
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 05 January 2004 : 18:09:43
|
Seems to be a cache problem on the server, since after I changed the inc_header file, these errors appeared, but as time passes, and people delete their cookies/temporary internet files, the problem is dissapearing, even though there are still a few users left with problems. |
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 08 January 2004 : 09:05:37
|
Still problems:
1. Some users canīt be seen in today date for Last Visit column in members.asp even though they did visit and post in the forum today.
2. Some users gets the default last visit date at 10 days when they login, even though they claim to have deleted all cookies/temporary internet files, as I suggested.
I have made changes only in the inc_header file, but not touched the login variables and such, only design changes.
Should I set the cookie to forum or website, I only have 1 board on my domain. |
|
|
|
Topic |
|