VS2005 deployment

Last post 04-03-2008 10:07 AM by skynyrd. 1 replies.

Sort Posts:

  • VS2005 deployment

    04-03-2008, 9:50 AM
    • Star
      7,640 point Star
    • thuhue
    • Member since 09-18-2003, 1:54 PM
    • Posts 2,241

    Is it necessary to wait untill no one use a site before updating and republishing it? How can you make sure no one is using the site? Thanks.

    Please mark the post(s) that have helped you as "Answer"
  • Re: VS2005 deployment

    04-03-2008, 10:07 AM
    Answer
    • Participant
      912 point Participant
    • skynyrd
    • Member since 12-15-2006, 9:22 AM
    • Posts 410

    I was able to do that (get to know when there is nobody connected)

    I have a field in my database called "online" and set it to 0 when the Session_End event take place

    The problem is that users can close the browser without logging out and, in that case, their sessions remain alive even though the user is no longer connected.

    I've found a solution using Javascript and Framesets, take a look:

    http://forums.asp.net/t/1150538.aspx

    In my case, I needed to know when there was nobody connected becouse I was woried about the first time compilation being so slow

    Good Luck

     

    L. Skynyrd


    Please, mark as answer when appropriate
Page 1 of 1 (2 items)