There's a lot more to it than that, there is no real concept of "connected"
when you talk about Web apps and HTTP.  In *general* a browser will connect
to a web server, grab a single page (or image), then disconnect.  When the
user clicks a link it connects again, gets the one page, and disconnects
again.

So the user is already "disconnected" when a pag finishes loading.

If you are asking about expiring a session, that is completely different.
Sessions are usually terminated after a specific time frame.  If you want a
session to expire early based on a client closing a browser window then you
will need to use some sort of client side scripting (usually JavaScript) to
trigger a hit against your logout script.  ...a Perl CGI script doesn't
control the client side of things.

If that doesn't answer your question, maybe a better explanation of what you
mean by "disconnect" and "logout" would help.

Rob


-----Original Message-----
From: Luis Guillot [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: How I can do logout?


I would like that an user that is connected to my web page it was
disconnected when closing the navigator or when visiting another web,
without having to press a logout button. Is it possible with Perl? Which
module or like I can do it?

Thank you very much.

Luis Guillot

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to