aspose file tools*
The moose likes Servlets and the fly likes Can we Disable Sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can we Disable Sessions" Watch "Can we Disable Sessions" New topic
Author

Can we Disable Sessions

Diwakar
Greenhorn

Joined: May 23, 2005
Posts: 9
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???
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"Diwakar k"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we Disable Sessions