I have hacked my /includes/functions_login.php script to provide sitewide login control using the vB db and cookies. It works quite nicely so far.
I want to check that when a user session expires, vB does actually go and delete my custom "username" cookie, and not just when a deliberate logout is performed (which I know does work). Can someone direct me to the required code for managing the automatic ending of a user session (and esp. deleting the cookies)? It doesn't seem to be in functions_login.php but maybe I'm missing something.
Thanks in advance.