• Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt in request,response headers and flow  RSS feed

vipul jhawar
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have some doubts in request, response headers and flow ?

1. why is it that we do not see cookies with maxage set as -1 in cookies folder but the server is able to use them. The same doubt with JSESSIONID cookie.

2. What will happen if i set cookies in jsp and then do a sendRedirect to another jsp. Will the second jsp recieve the cookie? A forward wil not support it ... what do u say?

3. Is it possible to setheader in a jsp/servlet and then retrive them before commiting the response?

4. when i am using the getDomain() on cookie for the cookies i have set on my localhost server, i get a null? why?

5. is getDomain() useful for subdomains... or what is its main use?
[ March 27, 2006: Message edited by: vipul jhawar ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!