¾È±Ô °øºÎ¹æ

ACTIVE SERVER PAGE > ASP ¿¡¼­ ÄíÅ°(Cookies)»ç¿ëÇϱâ

µî·ÏÀÏ : 2017-07-03 20:05 Á¶È¸¼ö : 53,092

ASP¿¡¼­ ÄíÅ°»ç¿ë¹æ¹ý ÀÔ´Ï´Ù.

1. ÄíÅ° ÀúÀåÇϱâ
 
		domain_url = Request.ServerVariables("server_name") 

		Response.cookies("uid").domain = domain_url
		Response.Cookies("uid").expires	= date+1
		Response.Cookies("uid")("userid") = "aaa"

2. ÄíÅ° Àоî¿À±â
 
userid		= Request.Cookies("uid")("userid")

3. ÄíÅ° »èÁ¦Çϱâ

		domain_url = Request.ServerVariables("server_name")

		Response.cookies("uid").domain = domain_url
		Response.Cookies("uid").expires=date+365
		Response.Cookies("uid")("userid")=""

 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.