package com.mandi.common; import javax.servlet.http.HttpSession; public class Tokenmethod { @Deprecated public static boolean checkcertify(String certi,HttpSession session) { if(certi==null||session==null) return false; String scerti=session.getAttribute("certifycode")+""; if(certi.equals(scerti)) return true; return false; } }