½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
HTML
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 50 | Á¶È¸¼ö 499 | µî·ÏÀÏ 2001-08-14 16:18:44

´Ð³×ÀÓ

zerotak

À̸ÞÀÏ

zerotak@happycgi.com

Á¦¸ñ

[´äº¯] Applicationº¯¼ö¸¦ ÀÌ¿ëÇÑ ÇöÀç Á¢¼Ó¼ö
³»¿ë
¾È³çÇϼ¼¿ä!!  ÇØÇÇ CGI zerotakÀÔ´Ï´Ù.

ÇÑ ´ëÀÇ ÄÄÇ»ÅÍ¿¡¼­ ¼¼¼ÇÀÇ ½Çü¸¦ º¸±â¶õ ¾î·Æ½À´Ï´Ù.

¼¼¼ÇÀº ÇϳªÀÇ Å¬¶óÀ̾ðÆ®°¡ ¼­¹ö¿¡ Á¢¼ÓÇϸé ÀÚµ¿À¸·Î Session_OnStart À̺¥Æ®°¡ ¹ß»ýÇÕ´Ï´Ù.

±×¸®°í, 20ºÐ ÈÄ¿¡ Àû¿ëµÇ´Â °ÍÀÌ ¾Æ´Ï°í...ºê¶ó¿ìÀú¿¡¼­ ¾Æ¹«·± ¹ÝÀÀÀÌ ¾øÀ¸¸é 20ºÐ ÈÄ¿¡ ÀÚµ¿À¸·Î ¼¼¼ÇÀÌ Á¾·áµË´Ï´Ù. ÀÌ ¶§¿¡´Â Session_OnEnd À̺¥Æ®°¡ ¹ß»ýÇÏ°Ô µÇÁÒ..!!

ÇöÀç Á¢¼ÓÀÚ ¼ö¸¦ ±¸ÇÏ´Â ¹ýÀ» °£´ÜÇÏ°Ô ¼³¸í µå¸®°Ú½À´Ï´Ù.

Sub Application_OnStart
Application("Now_Counter") = 0
End Sub

Sub Session_OnStart
Application("Now_Counter") = Application("Now_Counter") + 1
End Sub

Sub Session_OnEnd
Application("Now_Counter") = Application("Now_Counter") - 1
End Sub

Sub Application_OnEnd

End Sub

Application_OnStart À̺¥Æ®¿¡¼­ °ªÀÌ '0'ÀÎ Àü¿ªº¯¼ö¸¦ Çϳª ¼±¾ðÇÕ´Ï´Ù.
Session_OnStart À̺¥Æ®¿¡¼­ ±× °ªÀ» Áõ°¡½Ãŵ´Ï´Ù.
Session_OnEnd À̺¥Æ®¿¡¼­ °ªÀ» °¨¼Ò½Ãŵ´Ï´Ù.

ÀÌ °ÍÀÌ ÀüºÎÀÔ´Ï´Ù.


°ªÀ» Áõ°¡, °¨¼Ò½Ãų ¶§ Application.LockÀ» °É¾î ÁÖ¸é ´õ ³·°Ú³×¿ä..


response.write Application("Now_Counter")

ÀÌ·¸°Ô °ªÀ» ÇÁ¸°Æ® Çϸé..³¡..!!

ÇØ´ç ÆÄÀÏÀ» ºê¶ó¿ìÀú¿¡¼­ ½ÇÇà½ÃÅ°°í ºê¶ó¿ìÀú¸¦ ´Ý°í... ¶Ç.. ½ÇÇà½ÃÅ°°í ÇϽøé...ÇöÀç Á¢¼Ó ¼ö¸¦ º¸½Ç ¼ö ÀÖÀ» °Ì´Ï´Ù.

ºê¶ó¿ìÀú°¡ Çϳª¶óµµ ¿­·Á ÀÖÀ¸¸é ¼¼¼Ç °ªÀº »ì¾Æ ÀÖ´Ù´Â °Å ´Ù ¾Æ½ÃÁÒ!!
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û Applicationº¯¼ö¸¦ ÀÌ¿ëÇÑ ÇöÀç Á¢¼Ó¼ö 2001-08-14 12:59:51
´ÙÀ½°Ô½Ã±Û ºÎµ¿»ê¸Å¹°µî·Ï¼Ò½º¸¦ ã½À´Ï´Ù. 2001-08-15 16:23:10