¾Æ½Ã°í °è½Ã´Â ³»¿ëÀÏ°Ì´Ï´Ù.
¾Æ·¡ÀÇ ¼³¸í°¡Áö°í ÀÀ¿ëÇغ¸¼¼¿ä ¾ÆÁÖ °£´ÜÇÕ´Ï´Ù.
±×¸®°í »ç¿ëÀÚÀÇ Å×À̺íÁß Class Çʵ带 Çϳª Ãß°¡ÇØ
Áֽñ¸¿ä
-----------------------------------------------
'»ç¿ëÀÚÀÇ °Ô½ÃÆÇ »ç¿ë±ÇÇÑ Class¸¦ ¹Þ¾Æ¿Â´Ù
Class = Session("Class")
'¸¸¾à Á¢¼ÓÁßÀÎ °Ô½ÃÆÇ Class¿Í ¸ÂÁö ¾Ê´Ù¸é ·Î±×ÀÎȸéÀ¸·Î...
if Class<>"1" then Response.Redirect("login.asp")
End if
'¸Â´Ù¸é °Ô½ÃÆÇ ½ÇÇà
------------------------------------------------
¾î¶§¿ä? °£´ÜÇÏÁÒ?
ȨÆäÀÌÁö¿¡ User°¡ óÀ½ Á¢¼Ó½Ã ÇØ´ç UserÀÇ µ¥ÀÌÅÍÁ¤º¸Áß¿¡ Class°ªÀ» ÀÐ¾î¼ ¼¼¼Ç¿¡ ÀúÀåÇؾßÇÕ´Ï´Ù.
------------------------------------------------
Session("Class") = Class
------------------------------------------------
À§´Â ´ë·«ÀûÀ¸·Î ÇÑ°ÍÀ̹ǷΠ´Ô ÇÁ·Î±×·¡¹Ö ½ºÅ¸ÀÏ¿¡ ¸ÂÃß¾î¼ ÀÛ¼ºÇϽñ⠹ٶø´Ï´Ù.
|