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, 5610👍, 0💬
Popular Posts:
What is shadowing ? When two elements in a program have same name, one of them can hide and shadow t...
How To Merge Cells in a Row? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells If you wan...
What will be printed as the resultof the operation below: int x; int modifyvalue() { return(x+=10); ...
In below sample code if we create a object of class2 which constructor will fire first? Public Class...
Jack developed a program by using a Map container to hold key/value pairs. He wanted to make a chang...