John,
the getSession(false) only returns a session if it is not a new one (ie
if request is from another page inside the application). getSession(true)
always returns a session.
Matt Goss

"John Clark L. Naldoza" wrote:

> Hello All,
>
> Why is it that I am getting a session, even though I have set call
> getSesssion(false) and it is the first time that my browser has
> accessed it...
>
> I'm using Tomcat 3.2.1 under Linux 2.2.17
>
> I have set the following in the web.xml
>
>     <session-config>
>         <session-timeout>
>             0
>         </session-timeout>
>     </session-config>
>
> Any help, pointer or ever RTFMs would be appreciated (I hope the URLs
> are in order though..;-)
>
> Thanks in advance.
>
> Cheers,
>
> John Clark
> --
>      /) John Clark Naldoza y Lopez                           (\
>     / )    Software Design Engineer II                       ( \
>   _( (_    _  Web-Application Development                    _) )_
>  (((\ \>  /_>    Cable Modem Network Management System <_\  </ /)))
>  (\\\\ \_/ /         NEC Telecom Software Phils., Inc.  \ \_/ ////)
>   \       /                                              \       /
>    \    _/  phone: (+63 32) 233-9142 loc. 3112            \_    /
>    /   /  cellphone: (+63 919) 241-4612                     \   \
>   /   / email: [EMAIL PROTECTED]                        \   \
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to