View | Details | Raw Unified | Return to bug 44382
Collapse All | Expand All

(-)C:/Documents and Settings/Jim/workspace/tomcat-trunk/java/org/apache/tomcat/util/http/ServerCookie.java (-1 / +6 lines)
Lines 247-253 Link Here
247
                                          String domain,
247
                                          String domain,
248
                                          String comment,
248
                                          String comment,
249
                                          int maxAge,
249
                                          int maxAge,
250
                                          boolean isSecure )
250
                                          boolean isSecure,
251
                                          boolean httpOnly)
251
    {
252
    {
252
        StringBuffer buf = new StringBuffer();
253
        StringBuffer buf = new StringBuffer();
253
        // Servlet implementation checks name
254
        // Servlet implementation checks name
Lines 307-312 Link Here
307
          buf.append ("; Secure");
308
          buf.append ("; Secure");
308
        }
309
        }
309
        
310
        
311
        if (httpOnly) {
312
          buf.append ("; HttpOnly");
313
        }
314
        
310
        headerBuf.append(buf);
315
        headerBuf.append(buf);
311
    }
316
    }
312
317

Return to bug 44382