＜本文发表于: 相约加拿大:枫下论坛 www.rolia.net/f ＞
There are textbook defintions on session. However, it is hard to recite the definition in an interview. My answer is try to argue away the interviewer and make him/her forget about the original question.
Session is not only a technical concept. It is
also a business concept. In the Internet world, as a surfer open the browser and
hits a URL, he/she begins a session with
the website. This session is composed of a series of request & response between the browser and the web server, until the surfer leave the site or he/she has idled for a too long time so that the web server expires
Techincally, session is incorporated in
a session object if your site is built using ASP. If your site is created using Java servlets and JSP, it is described by a HttpSession object. For a web developer,
he/she must keep session management
in mind. In another word, session management is the core of the Web programming.
My answer is not
really accurate, but I always use it to
confuse the people who interview me.
Talking some trivial things but make them sounds like truth is kind of a skill in a job interview. It does not always work but sometime it does work!＜本文发表于: 相约加拿大:枫下论坛 www.rolia.net/f ＞