This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, In JSPs as we can disable scriptlets in the same line can we dis-able the use of sessions. Also is there any way such that in Servlets the use of Sessions could be banned. Can we make the Sessions unavailable in Servlets???
Can we make the Sessions unavailable in Servlets???
Whether or not a given servlet uses sessions depends on the servlet code. You can certainly write servlets that do not use sessions, however, sessions are an integral part of the servlet and JSP API and all servlet containers should implement them. Bill