📜  @page session - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:01.438000             🧑  作者: Mango

代码示例1
Why set <@page session = "false">? 
One reason would be performance and memory. 
If you have a page that doesn't need to be involved in a session 
(like say, an about.jsp or faq.jsp) 
then the default behaviour of involving every JSP in a session will
impose the overhead of creating a new session object 
(if one doesn't already exist) and increased memory usage as more
objects reside on the heap.