Class CookieInJar
java.lang.Object
|
+----CookieInJar
- public class CookieInJar
- extends Object
This class handles storing and deletion of cookies from database.
-
myCom
-
-
CookieInJar()
-
-
CookieDelete(String, String)
- This method removes cookie from database corresponding to the user_id
or the cookie itself.
-
CookieSave(String, String, int)
-
This method when called stores the cookie passed to it in the
database along with the user_id and expiry time.
myCom
public static Connection myCom
CookieInJar
public CookieInJar()
CookieSave
public static void CookieSave(String u_id,
String cooki,
int exp_t) throws SQLException
- This method when called stores the cookie passed to it in the
database along with the user_id and expiry time.
CookieDelete
public static void CookieDelete(String u_id,
String cooki) throws SQLException
- This method removes cookie from database corresponding to the user_id
or the cookie itself.