Re: getSession always returns null
Hello Jerry On 21-Jun-02, you wrote: The default behavior is to create an session if it doesn't already exist. I tried both with and without the true argument with the same effect. you use a invalid cookie setting in your browser. Even if cookies are enabled, it can be wrong. I had the same problem Regards -- Ihr POWER-NETZĀ®-Team POWER-NETZĀ® Full-Service-Provider Service Tel: 01805 - 57 35 57 (DM 0,24/Min.) Service Fax: 01805 - 57 45 57 (DM 0,24/Min.) Online-Support: Support: 0190 - 15 11 15 (DM 1,21/Min) #http://Support.Power-Netz.de# (kostenlos) #http://Support.Power-Netz.com# (kostenlos) Power-Netz Reeperbahn 157 20359 Hamburg #http://www.Power-Netz.de# #mailto:[EMAIL PROTECTED]# +=+ --I N F O C E N T E R-- + Senden Sie eine leere e-mail an: + Providerwechsel: #mailto:[EMAIL PROTECTED]# + Daten/Preise Webspace: #mailto:[EMAIL PROTECTED]# + Reseller-Programm: #mailto:[EMAIL PROTECTED]# + Dedizierte Server: #mailto:[EMAIL PROTECTED]# + Adult/Erotikserver: #mailto:[EMAIL PROTECTED]# + Domainpreise: #mailto:[EMAIL PROTECTED]# + WebDesign: #mailto:[EMAIL PROTECTED]# + SSL-Zertifikate: #mailto:[EMAIL PROTECTED]# + Online-Datenbanken: #mailto:[EMAIL PROTECTED]# + Geschaeftsbedingungen: #mailto:[EMAIL PROTECTED]# + =+ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
getSession always returns null
I have setup Apache with Tomcat on my NetWare 6.0 server. Everything is working fine (so far) except for getSession always returns null. The Session example servlet as well as every test I have tried has had the same result. Has anyone else experience this problem? Any suggestions? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: getSession always returns null
Hello Jerry, don't you need to do getSession(true) in order for getSession to return a non-null session whether one exists currently or not? If you just call getSession(), it will return null if the current session is null (not created yet). Jake Thursday, June 20, 2002, 2:17:45 PM, you wrote: JJ I have setup Apache with Tomcat on my NetWare 6.0 server. Everything is working fine (so far) except for getSession always returns null. The Session example servlet as well as every test I have JJ tried has had the same result. Has anyone else experience this problem? Any suggestions? Thanks -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: getSession always returns null
The default behavior is to create an session if it doesn't already exist. I tried both with and without the true argument with the same effect. [EMAIL PROTECTED] 06/20/02 12:35PM Hello Jerry, don't you need to do getSession(true) in order for getSession to return a non-null session whether one exists currently or not? If you just call getSession(), it will return null if the current session is null (not created yet). Jake Thursday, June 20, 2002, 2:17:45 PM, you wrote: JJ I have setup Apache with Tomcat on my NetWare 6.0 server. Everything is working fine (so far) except for getSession always returns null. The Session example servlet as well as every test I have JJ tried has had the same result. Has anyone else experience this problem? Any suggestions? Thanks -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]