Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > BOOK: Professional IBM WebSphere 5.0 Application Server
|
BOOK: Professional IBM WebSphere 5.0 Application Server
This is the forum to discuss the Wrox book Professional IBM WebSphere 5.0 Application Server by Tim Francis, Eric Herness, Rob High Jr., Jim Knutson, Kim Rochat, Chris Vignola; ISBN: 9780764543661
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional IBM WebSphere 5.0 Application Server section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 25th, 2005, 06:49 AM
Authorized User
 
Join Date: Apr 2005
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with isRequestedSessionIdValid() method

We have a loginTest.jsp as follows
========================================
<html>
<head>
</head>
<body>
Session Id::: <%=request.getSession().getId()%>
<%
if(!request.isRequestedSessionIdValid())
        {
            out.print("Session not valid");
        }
%>
</body>
<html>
================================================== ==============

When we run the following jsp in WebSphere App Server 4.0.7
Iam getting session id alone displayed in the screen. The
isRequestedSessionIdValid() returns true and out.print() method
don't executes.

When i run the same jsp in WAS v5.1.1, Iam getting session id and "session not valid" message in the screen. In this case..isRequestedSessionIdValid() returns false.

Can someone please explain why isRequestedSessionIdValid() method behaves differently in both WAS4.0.7 and 5.1.1 and also do you have more information apart from javadocs on this method?

Thanks in advance.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Position() Method Problem kwilliams XSLT 3 May 20th, 2008 02:11 PM
What is best method to solve problem VictorVictor ASP.NET 2.0 Basics 5 July 20th, 2006 01:53 PM
Problem with a method? savoym C# 1 January 6th, 2005 09:34 AM
unspecified method problem? nerssi BOOK: Professional Jakarta Struts 0 September 12th, 2004 06:40 AM
FindControl Method problem jbenson001 ASP.NET 1.x and 2.0 Application Design 3 March 8th, 2004 10:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.