|
Posted by "Matt Monaco" on 11/29/05 03:16
If you store your "login object" in a session, when the browser window is
closed the object will automatically be destroyed, thus calling the
destructor.
In response to the message you send directly to me, you would create a file
called Login.class.php and at the top of each page include the file using
require_once("Login.class.php");
Matt
""mail.pmpa"" <mail.pmpa@sapo.pt> wrote in message
news:000601c5f480$32976120$6f2e9a52@POSTO03...
>De: Matt Monaco [mailto:mmonaco3@jhu.edu]
>Create an object with the functionality of your choosing, in the destructor
>perform your cleanup operations.
The problem is I don't know when a member closes the browser window.
If I knew that i would automatically logout that member.
Thanks.
[Back to original message]
|