What is the replacement in jsp for session = request.getSession(false); i.e. return the existing session if there is one but null if not? Is this the only work-around in jsp?: if ( session.isNew() ) { session.invalidate(); session = null; } Converting a number of old jhtml pages to jsp and they make some use of getSession(false), usually to produce a "Your session has expired" page. Looking for a drop-in replacement for the getSession(false) line so that I can make the changes en masse with the stream editor sed. =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html