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