Re: A simple question about logging out

2005-04-24 Thread Craig McClanahan
On 4/24/05, Yan Hu <[EMAIL PROTECTED]> wrote: > Hi: > I came across a couple of articles about logout on the Web. They all do > something like > session.removeAttribute("user"); > session.invalidate(); > Can I just use session.invalidate()? Would "user" be destroyed automatically > when the sess

A simple question about logging out

2005-04-24 Thread Yan Hu
Hi: I came across a couple of articles about logout on the Web. They all do something like session.removeAttribute("user"); session.invalidate(); Can I just use session.invalidate()? Would "user" be destroyed automatically when the session is invalidated? Thanks. By the way, i would rather gawk