package zall;

import java.util.Locale;

/**
 * Zallery globally defined constants
 */
public interface ZalleryConstants {

    /** Session Constants **/

    public static final String SESSION_KEY_USER_MSG  = "zall_user_message";
    public static final String SESSION_KEY_USER_OBJ  = "zall_user";
    public static final long   SESSION_TIMEOUT       = 3*24*60*60*1000; // 2 day

    /** Cookie Constants **/

    public static final String COOKIE_KEY_USER_HASH  = "zall_user_hash";
    public static final int    COOKIE_TIMEOUT        = 10*24*60*60; // 10 days

    /** Language Key Constants **/

    String LANG_BASENAME = "zall.lang.zallery_lang";
    Locale LANG_DEFAULT  = Locale.ENGLISH;

}
