Pilot, in terms of cookies used by UBB, the script SETS UserName and Password cookies after each login so those two fields are 100% guaranteed to be filled in when posting, etc. That's the "fix". The other cookies maintained by UBB, such as last visit time, preferences and so forth are RETREIVED by UBB after login first, then set to expire in a year. Those cookies were set by UBB in a previous session and last for one year. Logic dictates I cannot set cookies which first need to be retreived at that point, so I let UBB handle it normally and it works fine on it's own.
I cannot "fix" the others (last visit date most importantly) because of the simple fact they're retrieved after login by UBB, not set at that time, and that's required.
If I set them at logoff, major interference with UBB routines, plus not everyone logs off since it's the Internet and not a dialup connection, and UBB works fine for those other cookies for me and many others so why fix those if it aint broke!
-Jim
------------------
From: Jim Goldbloom
UBB Code Hacker
http://www.accessdeniedbbs.net/downloads for latest hacks
This message has been edited by hate98 on January 12, 2001 at 09:28 AM