Skip to main content
Participant
July 12, 2006
Question

Timing out a FMS Session

  • July 12, 2006
  • 3 replies
  • 322 views
Hi People !
Can anyone give us a lead on how to time sessions out using ACS ? We're seeking to define a demo session length (server side). Much appreciate any help
Kind regards
Prema
    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Known Participant
    July 12, 2006
    try using intervals

    its simple

    quote:


    //creating the function
    interv = function (){
    //put something to close your connection... such as nc.close();
    clearInterval(inter);
    }
    //setting the interval
    inter = setInterval("interv", 10000); // note.. the 10000 is the number in miliseconds, in this case it is set to 10 minutes



    I hope I have contributed to your needs, thanks
    Prema2909Author
    Participant
    July 13, 2006
    Thanks so much for your help -- it also helps a beginner to understand some other things !
    Thanks again
    Prema
    Known Participant
    July 13, 2006


    so, everything you may want to put a timer, choose that way its simple and can be easily setted up!!!