´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ä³ÎÀÌ / 2000-11-03 / ¿ÀÀü 9:40:34 / 211.55.55.121
    Á¶È¸¼ö : 141
    [Áú¹®] À§¿¡°Å Ãß°¡³»¿ë
    °Ô½ÃÆÇ asaÆÄÀÏ°ú
    Ä«¿îÅÍ asaÆÄÀϳ»¿ëÀÌ Æ²·Á¼­ ±×·¸½À´Ï´Ù.
    ¿ì¸® ȸ»ç ȨÆäÀÌÁö Ä«¿îÅ͸¦ º¸´Ï±î
    ÀüÇô ´Ù¸¥ ³»¿ëÀÌ´õ¶ó±¸¿è
    -----ȸ»ç global.asaÆÄÀÏ ³»¿ë ---------

    Sub Application_OnStart

    Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
    VisitCountFileName = "e:\woojung\visit1.txt"
    Set Out = FileObject.OpenTextFile(VisitCountFileName,1,FALSE,FALSE)

    Application("count")=Out.ReadLine
    Application("VisitCountFileName")=VisitCountFileName

    Application("now_visit") = 0

    End Sub

    Sub Application_OnEnd

    Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
    Set Out = FileObject.CreateTextFile(Application("VisitCountFileName"),TRUE)

    Application.Lock
    Out.WriteLine(Application("count"))
    Application.UnLock

    End sub

    Sub Session_OnStart

    if left(request.servervariables("REMOTE_ADDR"),9) <> "211.39.8." then
    Application.lock
    Application("count")= Application("count")+1
    Application("now_visit") = Application("now_visit") + 1 'ÇöÀçÁ¢¼ÓÀοø üũ¿ë
    Application.unlock

    Session.Timeout = 20

    If Application("count") MOD 10 = 0 Then
    Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
    Set Out = FileObject.CreateTextFile(Application("VisitCountFileName"),TRUE)

    Application.lock
    Out.WriteLine(Application("count"))
    Out.Close
    Application.unlock

    End If
    end if
    End Sub

    Sub Session_OnEnd
    if left(request.servervariables("REMOTE_ADDR"),9) <> "211.39.8." then
    Application.lock
    Application("now_visit") = Application("now_visit") - 1 'ÇöÀçÁ¢¼ÓÀοø üũ¿ë
    Application.unlock
    end if

    End Sub

    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :