Difference between session and request
Posted on 2004-09-14
What is the difference between session and request parameters, does session just last for any given users session whereas request lasts for any user? how do you set the session and request etc
I know that with the request parameter everything is an object within the
is this the same with session
Also can you set the Parameter with request, and what are you really doing when you set the parameter/setAttribue?
Finally, when you do setAtrribute(test, "test");
String test = "tester";
which variable are u setting and which one will u be using in the page that gets the attribute, i.e where session.getAttribute(_what_goes_here_) is called.
_what_goes_here_ = ??
Im hoping that someone will actually explain this rather than just give me a site, if i get an explanation then i will give 100 points for the question. As ive read it before but i dont fully understand, so an answer with a backup link would be great.