[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Pass session id in url

A_titov82 do-not-reply at jboss.com
Tue Apr 24 03:21:00 EDT 2007


Thank you for answer... But it does not work as expected. Session id is not added to url. Here is my jboss-web.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <jboss-web>
  |     <context-root>client1</context-root>
  |     <use-session-cookies>false</use-session-cookies>
  | </jboss-web>
  | 

And here is source code of html output:

  | <html>
  | 	<head>
  | 		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  | 		<title></title>
  | 	</head>
  | 	<body>
  |         <form name="myform" method="post" action="/client1/myaction.do">
  | 	<center>
  | 		messsage <input type="text" name="number" value="">
  | 	</center>
  |         </form>
  | 	</body>
  | </html>
  | 
There is no jsessionid after /client1/myaction.do...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040095#4040095

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040095



More information about the jboss-user mailing list