Re: AW: Session with IE
Hi Wyn, I'm sure. I set to Enable all places. With iPlanet there isn't problem. I think that problem is in my configuration. Saludos, José Luis Wyn Easton wrote: Jose, I just looked at my IE setting and there are actually four places that deal with cookies. There are two places in Internet and two in Local internet. Be sure you have Allow per-session cookies (not stored) set to Enable in both places. --- Jose Luis Rodriguez [EMAIL PROTECTED] wrote: Well, I have seen in IE configuration Tools/Internet options/Security/Internet-Intranet (Cookies enable). I think that cookies are enabled. Thanks, José Luis Wyn Easton wrote: Jose, If cookies are enabled for IE, why does your output say: sessions.fromcookie = false for IE? H... --- Jose Luis Rodriguez [EMAIL PROTECTED] wrote: Yes, the cookies are enabled in my IE. Saludos, José Luis Ralph Einfeldt wrote: To me it looks like you don't have cookies enables in IE and you don't use response.encodeUrl() for the url's that link the pages. -Ursprüngliche Nachricht- Von: Jose Luis Rodriguez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 10:08 An: [EMAIL PROTECTED] Betreff: Session with IE snip/ sessions.requestedid = null sessions.requestedidvalid = false sessions.fromcookie = false sessions.fromurl = false snip/ sessions.requestedid = d6eju3yor1 sessions.requestedidvalid = true sessions.fromcookie = true sessions.fromurl = false snip/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Session with IE
Hi. My develop environment is Tomcat 3.2.2, IIS 4.0, JDK1.2.2 and Windows NT 4.0. I have a problem with session and IE 5.x browser, with Netscape Communicator that's Ok. I can't use beans because my applicaction lose the session. I've used an example from Sun, sessions exactly. With IE the results are: sessions.id = s0101uyt91 sessions.isnew = true (every times) sessions.created = Wed Jun 20 09:47:06 GMT+02:00 2001 sessions.lastaccessed = Wed Jun 20 09:47:06 GMT+02:00 2001 sessions.requestedid = null sessions.requestedidvalid = false sessions.fromcookie = false sessions.fromurl = false With Communicator: sessions.id = d6eju3yor1 sessions.isnew = false sessions.created = Wed Jun 20 09:41:42 GMT+02:00 2001 sessions.lastaccessed = Wed Jun 20 10:03:18 GMT+02:00 2001 sessions.requestedid = d6eju3yor1 sessions.requestedidvalid = true sessions.fromcookie = true sessions.fromurl = false What's the matter? Thanks in advance, José Luis
AW: Session with IE
To me it looks like you don't have cookies enables in IE and you don't use response.encodeUrl() for the url's that link the pages. -Ursprüngliche Nachricht- Von: Jose Luis Rodriguez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 10:08 An: [EMAIL PROTECTED] Betreff: Session with IE snip/ sessions.requestedid = null sessions.requestedidvalid = false sessions.fromcookie = false sessions.fromurl = false snip/ sessions.requestedid = d6eju3yor1 sessions.requestedidvalid = true sessions.fromcookie = true sessions.fromurl = false snip/
Re: AW: Session with IE
Yes, the cookies are enabled in my IE. Saludos, José Luis Ralph Einfeldt wrote: To me it looks like you don't have cookies enables in IE and you don't use response.encodeUrl() for the url's that link the pages. -Ursprüngliche Nachricht- Von: Jose Luis Rodriguez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 10:08 An: [EMAIL PROTECTED] Betreff: Session with IE snip/ sessions.requestedid = null sessions.requestedidvalid = false sessions.fromcookie = false sessions.fromurl = false snip/ sessions.requestedid = d6eju3yor1 sessions.requestedidvalid = true sessions.fromcookie = true sessions.fromurl = false snip/
Re: AW: Session with IE
Jose, If cookies are enabled for IE, why does your output say: sessions.fromcookie = false for IE? H... --- Jose Luis Rodriguez [EMAIL PROTECTED] wrote: Yes, the cookies are enabled in my IE. Saludos, José Luis Ralph Einfeldt wrote: To me it looks like you don't have cookies enables in IE and you don't use response.encodeUrl() for the url's that link the pages. -Ursprüngliche Nachricht- Von: Jose Luis Rodriguez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 10:08 An: [EMAIL PROTECTED] Betreff: Session with IE snip/ sessions.requestedid = null sessions.requestedidvalid = false sessions.fromcookie = false sessions.fromurl = false snip/ sessions.requestedid = d6eju3yor1 sessions.requestedidvalid = true sessions.fromcookie = true sessions.fromurl = false snip/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: AW: Session with IE
Well, I have seen in IE configuration Tools/Internet options/Security/Internet-Intranet (Cookies enable). I think that cookies are enabled. Thanks, José Luis Wyn Easton wrote: Jose, If cookies are enabled for IE, why does your output say: sessions.fromcookie = false for IE? H... --- Jose Luis Rodriguez [EMAIL PROTECTED] wrote: Yes, the cookies are enabled in my IE. Saludos, José Luis Ralph Einfeldt wrote: To me it looks like you don't have cookies enables in IE and you don't use response.encodeUrl() for the url's that link the pages. -Ursprüngliche Nachricht- Von: Jose Luis Rodriguez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 10:08 An: [EMAIL PROTECTED] Betreff: Session with IE snip/ sessions.requestedid = null sessions.requestedidvalid = false sessions.fromcookie = false sessions.fromurl = false snip/ sessions.requestedid = d6eju3yor1 sessions.requestedidvalid = true sessions.fromcookie = true sessions.fromurl = false snip/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: AW: Session with IE
Jose, I just looked at my IE setting and there are actually four places that deal with cookies. There are two places in Internet and two in Local internet. Be sure you have Allow per-session cookies (not stored) set to Enable in both places. --- Jose Luis Rodriguez [EMAIL PROTECTED] wrote: Well, I have seen in IE configuration Tools/Internet options/Security/Internet-Intranet (Cookies enable). I think that cookies are enabled. Thanks, José Luis Wyn Easton wrote: Jose, If cookies are enabled for IE, why does your output say: sessions.fromcookie = false for IE? H... --- Jose Luis Rodriguez [EMAIL PROTECTED] wrote: Yes, the cookies are enabled in my IE. Saludos, José Luis Ralph Einfeldt wrote: To me it looks like you don't have cookies enables in IE and you don't use response.encodeUrl() for the url's that link the pages. -Ursprüngliche Nachricht- Von: Jose Luis Rodriguez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 10:08 An: [EMAIL PROTECTED] Betreff: Session with IE snip/ sessions.requestedid = null sessions.requestedidvalid = false sessions.fromcookie = false sessions.fromurl = false snip/ sessions.requestedid = d6eju3yor1 sessions.requestedidvalid = true sessions.fromcookie = true sessions.fromurl = false snip/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Session with IE
My developed employment is IIS 4.0, Tomcat 3.2.2 under Windows Nt 4.0. I have a problem when I run mi application with IE 5.5, this lose the session inmediatly that I run another time. With Netscape Communicator that's Ok. My application is in: webapps/jsp_jsp/inicio.html, procesar_inicio.jsp, inicio.jsp, responde.jsp webapps/jsp_jsp/Web-inf/classes/jsp_jsp/beans/ManejoDatos.class Only it show de session from a jsp to other jsp. In SYSTEM32/LogFiles/W3SVC1 I see an error number 200 that say so: 12:04:51 197.100.1.12 GET /jsp_jsp/inicio.html 200 12:04:53 197.100.1.12 POST /jsp_jsp/procesar_inicio.jsp 200 12:04:53 197.100.1.12 GET /jsp_jsp/Inicio.jsp 200 12:04:55 197.100.1.12 GET /jsp_jsp/Responde.jsp 200 isapi.log is empty. jasper.log: 2001-06-18 02:20:03 - JspEngine -- /procesar_inicio.jsp 2001-06-18 02:20:03 - ServletPath: /procesar_inicio.jsp 2001-06-18 02:20:03 - PathInfo: null 2001-06-18 02:20:03 - RealPath: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\procesar_inicio.jsp 2001-06-18 02:20:03 -RequestURI: /jsp_jsp/procesar_inicio.jsp 2001-06-18 02:20:03 - QueryString: null 2001-06-18 02:20:03 -Request Params: 2001-06-18 02:20:03 -password = fghj 2001-06-18 02:20:03 -login = hjfgh 2001-06-18 02:20:03 - classpath according to the Servlet Engine es: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Web-inf\classes 2001-06-18 02:20:03 - JspEngine -- /Responde.jsp 2001-06-18 02:20:03 - ServletPath: /Responde.jsp 2001-06-18 02:20:03 - PathInfo: null 2001-06-18 02:20:03 - RealPath: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Responde.jsp 2001-06-18 02:20:03 -RequestURI: /jsp_jsp/Responde.jsp 2001-06-18 02:20:03 - QueryString: null 2001-06-18 02:20:03 -Request Params: 2001-06-18 02:20:03 -password = fghj 2001-06-18 02:20:03 -login = hjfgh 2001-06-18 02:20:03 - classpath according to the Servlet Engine es: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Web-inf\classes 2001-06-18 02:20:05 - JspEngine -- /Inicio.jsp 2001-06-18 02:20:05 - ServletPath: /Inicio.jsp 2001-06-18 02:20:05 - PathInfo: null 2001-06-18 02:20:05 - RealPath: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Inicio.jsp 2001-06-18 02:20:05 -RequestURI: /jsp_jsp/Inicio.jsp 2001-06-18 02:20:05 - QueryString: null 2001-06-18 02:20:05 -Request Params: 2001-06-18 02:20:05 - classpath according to the Servlet Engine es: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Web-inf\classes My configuration is: uriworkermap.properties: # Mount my application context to the ajp12 worker /jsp_jsp/*=ajp12 server.xml: Context path=/jsp_jsp docBase=webapps/jsp_jsp crossContext=true debug=0 reloadable=true /Context workers.properties: workers.tomcat_home=D:\jakarta-tomcat-3.2.2 workers.java_home=D:\jdk1.2.2 ps=\ worker.list=ajp12, ajp13 worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 worker.ajp12.lbfactor=1 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 #worker.ajp13.cachesize worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp12, ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar worker.inprocess.cmd_line=-config worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml worker.inprocess.cmd_line=-home worker.inprocess.cmd_line=$(workers.tomcat_home) worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home) I haven't web.xml for my application. What I do bad? Thanks in advance, José Luis
RE: Session with IE
Hola Jose Luis: I think you are having problems with cookies, is the only way i see it failing.. Please access the http://localhost:8080/examples/jsp/security/ URL in your installed tomcat, and try to use the Cookies auth to see if works, if not, i'm almost sure the problem is on your browser ( check to see if it can store cookies ) , if not everything goes fine ( as it should ) , the problem is on your app..so be carefull Saludos , Ignacio J. Ortega PS: Para un poquito de ayuda en Español, mira http://es.egroups.com/group/JUGAnd o http://es.egroups.com/group/JUGAnd quizas hay te podamos hechar una mano.. -Mensaje original- De: Jose Luis Rodriguez [mailto:[EMAIL PROTECTED]] Enviado el: lunes 18 de junio de 2001 14:24 Para: [EMAIL PROTECTED] Asunto: Session with IE My developed employment is IIS 4.0, Tomcat 3.2.2 under Windows Nt 4.0. I have a problem when I run mi application with IE 5.5, this lose the session inmediatly that I run another time. With Netscape Communicator that's Ok. My application is in: webapps/jsp_jsp/inicio.html, procesar_inicio.jsp, inicio.jsp, responde.jsp webapps/jsp_jsp/Web-inf/classes/jsp_jsp/beans/ManejoDatos.class Only it show de session from a jsp to other jsp. In SYSTEM32/LogFiles/W3SVC1 I see an error number 200 that say so: 12:04:51 197.100.1.12 GET /jsp_jsp/inicio.html 200 12:04:53 197.100.1.12 POST /jsp_jsp/procesar_inicio.jsp 200 12:04:53 197.100.1.12 GET /jsp_jsp/Inicio.jsp 200 12:04:55 197.100.1.12 GET /jsp_jsp/Responde.jsp 200 isapi.log is empty. jasper.log: 2001-06-18 02:20:03 - JspEngine -- /procesar_inicio.jsp 2001-06-18 02:20:03 - ServletPath: /procesar_inicio.jsp 2001-06-18 02:20:03 - PathInfo: null 2001-06-18 02:20:03 - RealPath: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\procesar_inicio.jsp 2001-06-18 02:20:03 -RequestURI: /jsp_jsp/procesar_inicio.jsp 2001-06-18 02:20:03 - QueryString: null 2001-06-18 02:20:03 -Request Params: 2001-06-18 02:20:03 -password = fghj 2001-06-18 02:20:03 -login = hjfgh 2001-06-18 02:20:03 - classpath according to the Servlet Engine es: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Web-inf\classes 2001-06-18 02:20:03 - JspEngine -- /Responde.jsp 2001-06-18 02:20:03 - ServletPath: /Responde.jsp 2001-06-18 02:20:03 - PathInfo: null 2001-06-18 02:20:03 - RealPath: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Responde.jsp 2001-06-18 02:20:03 -RequestURI: /jsp_jsp/Responde.jsp 2001-06-18 02:20:03 - QueryString: null 2001-06-18 02:20:03 -Request Params: 2001-06-18 02:20:03 -password = fghj 2001-06-18 02:20:03 -login = hjfgh 2001-06-18 02:20:03 - classpath according to the Servlet Engine es: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Web-inf\classes 2001-06-18 02:20:05 - JspEngine -- /Inicio.jsp 2001-06-18 02:20:05 - ServletPath: /Inicio.jsp 2001-06-18 02:20:05 - PathInfo: null 2001-06-18 02:20:05 - RealPath: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Inicio.jsp 2001-06-18 02:20:05 -RequestURI: /jsp_jsp/Inicio.jsp 2001-06-18 02:20:05 - QueryString: null 2001-06-18 02:20:05 -Request Params: 2001-06-18 02:20:05 - classpath according to the Servlet Engine es: D:\jakarta-tomcat-3.2.2\webapps\jsp_jsp\Web-inf\classes My configuration is: uriworkermap.properties: # Mount my application context to the ajp12 worker /jsp_jsp/*=ajp12 server.xml: Context path=/jsp_jsp docBase=webapps/jsp_jsp crossContext=true debug=0 reloadable=true /Context workers.properties: workers.tomcat_home=D:\jakarta-tomcat-3.2.2 workers.java_home=D:\jdk1.2.2 ps=\ worker.list=ajp12, ajp13 worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 worker.ajp12.lbfactor=1 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 #worker.ajp13.cachesize worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp12, ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps )jaxp.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps )parser.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps )jasper.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps )servlet.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps )webserver.jar worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar worker.inprocess.cmd_line=-config worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml worker.inprocess.cmd_line=-home worker.inprocess.cmd_line=$(workers.tomcat_home) worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$ (ps)classic$(ps)jvm.dll
RE: Session with IE
I'm also having a problem with SingleSignOn (SSO) using 2 different webapps on Tomcat 4. The cookie works with the jsp example within 1 webapp but the SSO did not work. Log shows SSO cookie is not present. The only cookie tht gets set is the JSESSION cookie by the jsp app. Does anyone have any clues ? Thanks. -keng wong -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 11:02 AM To: '[EMAIL PROTECTED]' Subject: RE: Session with IE Hola Jose Luis: I think you are having problems with cookies, is the only way i see it failing.. Please access the http://localhost:8080/examples/jsp/security/ URL in your installed tomcat, and try to use the Cookies auth to see if works, if not, i'm almost sure the problem is on your browser ( check to see if it can store cookies ) , if not everything goes fine ( as it should ) , the problem is on your app..so be carefull