´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ±è°æÈÆ / 2001-05-09 / ¿ÀÈÄ 10:22:44 / 211.191.209.22
    Á¶È¸¼ö : 157
    [Áú¹®] global.asa ¿¡ °üÇؼ­ ±Ã±ÝÇÑ Á¡ÀÌ ÀÖ½À´Ï´Ù.
    ¾Æ·¡ÀÇ ÆÄÀÏÀº global.asaÆÄÀÏÀÔ´Ï´Ù.
    ¹æ¹®ÀÚ°¡ »çÀÌÆ®¿¡ ¸î¹ø° ¹æ¹®Çß´ÂÁö ¾Ë¾Æº¸·Á°í ÇÏ´Â °ÍÀÔ´Ï´Ù. ±×·±µ¥, ¸Â´ÂÁö Ʋ¸°Áö¸¦ ¸ð¸£°Ú½À´Ï´Ù.
    º¸½Ã°í Ʋ¸° ºÎºÐÀÌ ÀÖÀ¸¸é °íÃļ­ Á» °¡¸£ÃÄ ÁÖ¼¼¿ëºÎŹµå¸³´Ï´Ù.

    Sub Application_OnStart
    Const ForReading = 1
    Const ForWriting = 2
    Const ForAppending = 8
    Dim strFile
    strFile = "d:\asp\visit\visit.txt"
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(strFile, ForReading)
    VisitFile = objFile.Readline
    Application("visit") = VisitFile
    Application("user") = 0
    objFile.Close
    End Sub
    Sub Application_OnEnd
    End Sub
    Sub Session_OnStart
    Const ForReading = 1
    Const ForWriting = 2
    Const ForAppending = 8
    Dim strFile
    strFile = "d:\asp\visit\visit.txt"
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(strFile, ForWriting)
    Application.Lock
    Application("visit") = Application("visit") + 1
    intVisit = Application("visit")
    Application.Unlock
    Session("visitcount") = intVisit
    Application.Lock
    Application("user") = Application("user") + 1
    intUser = Application("user")
    Application.Unlock
    objFile.WriteLine
    intVisit objFile.Close
    End Sub
    Sub Session_OnEnd
    Application.Lock
    Application("user") = Application("user") - 1
    Application.Unlock
    End Sub
    objFile.Close

    º¸½Å´Ù±¸ ¼ö°íÇϼ̽À´Ï´Ù.
    ºü¸¥ ´äº¯Sub Application_OnStart
    Const ForReading = 1
    Const ForWriting = 2
    Const ForAppending = 8
    Dim strFile
    strFile = "d:\asp\visit\visit.txt"
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(strFile, ForReading)
    VisitFile = objFile.Readline
    Application("visit") = VisitFile
    Application("user") = 0
    objFile.Close
    End Sub
    Sub Application_OnEnd
    End Sub
    Sub Session_OnStart
    Const ForReading = 1
    Const ForWriting = 2
    Const ForAppending = 8
    Dim strFile
    strFile = "d:\asp\visit\visit.txt"
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(strFile, ForWriting)
    Application.Lock
    Application("visit") = Application("visit") + 1
    intVisit = Application("visit")
    Application.Unlock
    Session("visitcount") = intVisit
    Application.Lock
    Application("user") = Application("user") + 1
    intUser = Application("user")
    Application.Unlock
    objFile.WriteLine
    intVisit objFile.Close
    End Sub
    Sub Session_OnEnd
    Application.Lock
    Application("user") = Application("user") - 1
    Application.Unlock
    End Sub
    objFile.Close

    º¸½Å´Ù±¸ ¼ö°íÇϼ̽À´Ï´Ù.
    ºü¸¥ ´äº¯ ºÎŹ µå¸³´Ï´Ù.

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