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")=""