Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Preventing the Creation of Sessions in JSP Pages
How do you prevent the Creation of a Session in a JSP Page and why?
✍: FYICENTER.com
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, 5739👍, 0💬
Popular Posts:
What is more advisable to create a thread, by implementing a Runnable interface or by extending Thre...
How can we implement singleton pattern in .NET? Singleton pattern mainly focuses on having one and o...
What is Service Oriented architecture? “Services” are components which expose well defined interface...
How To Dump the Contents of a Directory into an Array? - PHP Script Tips - Working with Directoris a...
How did you implement UML in your project ? PART II Implementation phase / Coding phase (Class diagr...