Logo Search packages:      
Sourcecode: jaminid version File versions  Download package

void com::prolixtech::jaminid::Response::sendCookie15DG ( String  name,
String  value 
) [inline]

sets a fifteen day cookie

Parameters:
name the field name
value the field value

Definition at line 69 of file Response.java.

References setCookie().

                                                          {

        // public void setCookie(String name, String value, String path,
        // java.util.Date expires){
        Date d15G = new Date(System.currentTimeMillis() + 15 * 24 * 60 * 60
                * 1000);
        setCookie(name, value, "/", d15G);
    }


Generated by  Doxygen 1.6.0   Back to index