Does forward() forward any request parameter or attributte value?

Hi, All

I use RequestDispatcher forward(ServletRequest request, ServletResponse response) to forward to a new page. My case is like: any user go to our login page from our client page's link. When an user has logined, the user is allowed to use our web service in a certain time, once the time expired, we will redirect to the client page. We don't want to bring any parameter or value in the request object. I just wonder if I use RequestDispatcher forward() to the client page, will the request object bring all value which is stored in it or not? They include cookies, attributes, headers, etc.

Thanks

[626 byte] By [rcd27a] at [2007-10-3 2:26:21]
# 1
you will get session attributes along with the request as long as you keep the session alive.. once you invalidate the session those attributes are null and cannot be used.. so i think you need to invalidate the session to get your answer!-Olakara
Olakaraa at 2007-7-14 19:25:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks for help.
rcd27a at 2007-7-14 19:25:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...