You may have disabled cookies with your netscape and session need cookiees to work.
 
Session could be store in cookies or on the server (merory, registry... ) but in that case, cookies are the key to find session user on the server !
 
I think it's that but i'm a beginner...
 
------------------------------------------------------------------
Arnaud Ferrand - TECSI - Telecom
 
 
 
 -----Message d'origine-----
De: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]De la part de Xavier
Date: vendredi 30 avril 1999 09:54
À: [EMAIL PROTECTED]
Objet: Sessions : Explorer & Netscape

Hi all !!

I have a problem with sessions,and I need your help please.

 I do the following :

" HttpSession session = req.getSession(true);

  session.putValue("login.target", HttpUtils.getRequestURL(req).toString()); "

In one servlet, and in another one I just do :

String target =(String) session.getValue("login.target");

and it works well with Explorer, but it doesn't with Netscape, I always have

target=null.

Does anyone why ??

Thanks in advance !!!

 

Reply via email to