Preventing the Creation of Sessions in JSP Pages
How do you prevent the Creation of a Session in a JSP Page and why?
By default, a JSP page will automatically create a session for the request if one does not exist. However, sessions consume resources and if it is not necessary to maintain a session, one should not be created. For example, a marketing campaign may suggest the reader visit a web page for more information. If it is anticipated that a lot of traffic will hit that page, you may want to optimize the load on the machine by not creating useless sessions.
<%@ page session="false">
2007-04-03, 4661👍, 0💬
How can we suppress a finalize method? GC.SuppressFinalize ()
What is thread? A thread is an independent path of execution in a system.
What are the different storage classes in C? C has three types of storage: automatic, static and all...
What is V model in testing? V model mapís the type of test to the stage of development in a project....
What is the difference between Authentication and authorization? This can be a tricky question. Thes...