CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...: Re: [solutionmaster] Knows when a user has disconnected from a page: Edit Log



KevinR
Veteran


Oct 5, 2007, 10:43 AM


Views: 2557
Re: [solutionmaster] Knows when a user has disconnected from a page

You will have to use a session that tracks the user while on the website. If the user has no activity for a certain amount of time the session expires and the user has to start over again. The record would be released when the session expires making available to the next user.

CGI::Session is one such module, there might be others. Sessions usually have to be included at the lowest level of your CGI scripts so hopefully you have not written too much code yet. Trying to add them to already existing CGI scripts can be quite a chore.

I personally don't have too much practical experience with sessions so will not be of much use to help with actual code or how to use the module. I beleive there is a 'cookbook' though for CGI::Sessions, search cpan.
-------------------------------------------------


(This post was edited by KevinR on Oct 5, 2007, 10:44 AM)


Edit Log:
Post edited by KevinR (Veteran) on Oct 5, 2007, 10:44 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives