>ÄíÅ°¸¦ ÀÌ¿ëÇØ cgi¸¦ °¡Áö°í ·Î±×ÀÎÀÌ µÇ´Âµ¥ ·Î±×ÀÎÀÌ µÈ°ÍÀº È®ÀÎÀÌ µÇ´Âµ¥ ·Î±×¾Æ¿ôÀ» >È®ÀÎÇÏ°í ½ÍÀºµ¥ ·Î±×¾Æ¿ôÀº ¾î¶»°Ô ÇØ¾ß Çϳª¿ä.. >·Î±×¾Æ¿ôÀ» ´©¸£¸é ±×»ç¶÷ÀÌ °¡Á®¿Â ÄíÅ°°ªÀÌ ¾ø¾îÁö°í ±×»ç¶÷ÀÌ ·Î±×ÀÎÀÌ ¾ÈµÈ»óÅ°¡ µÇ°Ô ÇÏ·Á¸é ¾î¶»°Ô Çմϱî? >Á¦¹ß °¡¸£ÃÄ ÁÖ¼¼¿ä.. >ÀÚ¼¼ÇÏ°Ô °¡¸£ÃÄ ÁÖ¼¼¿ä.. Á¦°¡ ¾ÆÁ÷Àº Ãʺ¸¶ó¼ >
¾È³çÇϼ¼¿ä, HappyCGI ÆÀÀÇ voposÀÔ´Ï´Ù.
·Î±×¾Æ¿ô ½Ãų ¶§µµ *°°ÀºÆ÷¸Ë*(Áß¿ä) ÄíÅ°¸¦ ¼¼ÆÃÇÕ´Ï´Ù. ´Ù¸¸ ÄíÅ° °ª(value) À» null stringÀ¸·Î Á¤ÀǸ¦ ÇÏ¸é ±× ÄíÅ°´Â ´õÀÌ»ó À¯È¿ÇÏÁö ¾Ê°Ô µË´Ï´Ù.
PHP¸¦ ¿¹·Î µé¸é
login => setcookie ("cookieName","cookieValue");
logout => setcookie ("cookieName","");
´Ù¸¥ ¿É¼ÇÀÌ ÀÖÀ» ¶§´Â ±× ¿É¼ÇÀÌ ¸ðµÎ °°¾Æ¾ß ÇÕ´Ï´Ù.
login => setcookie ("cookieName","cookieValue",14400,"/",".happycgi.com");
logout => setcookie ("cookieName","",14400,"/",".happycgi.com");
¾ð¾îÀÇ Á¾·ù¿¡ µû¶ó ÄíÅ°¼¼ÆÃÇÏ´Â ÇÔ¼ö°¡ Á¶±Ý¾¿ ´Ù¸£´Ï ã¾Æº¸½Ã±æ...
°¨»çÇÕ´Ï´Ù.
- vopos
/---------------------------------------------------------------------------------------------------- ÀÚÁÖ¹¯´Â Áú¹® Æ÷·³°ú Æ÷·³°Ë»öÀ» ÀÌ¿ëÇϼż ºñ½ÁÇÑ Áú¹®ÀÇ ´äº¯ÀÌ ÀÖ´ÂÁö È®ÀÎÇÏ½Ã°í ±Û ¿Ã·ÁÁÖ½Ã±æ ºÎŹµå¸³´Ï´Ù. ----------------------------------------------------------------------------------------------------/
|