On the website we have a user login and need to track the session of each user. I assume if we put this in the page its going to void this. Any other ideas?
Thanks! Jennie -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: 06 September 2007 15:13 To: Struts Users Mailing List Subject: Re: JSessionID in URL on first request Turn off automatic session creation, if you want. It's a JSP directive. I think it's: <% page session="false" %> You don't need sessions until you actually want to track user state. If you need to track user hits, you could turn on mod_tracking if you're using HTTPD. Paul On 9/6/07, Jennie Moeller <[EMAIL PROTECTED]> wrote: > > On the very first request to our website any html:rewrite tags or > bean:include tags the URL gets rewritten with the JsessionID in it > making the link invalid which then gives a page not found error. > > I understand why its doing this as its not sure yet whether cookies > are enabled (cookies are enabled on my browser for certain) but I need > to know if there is anyway to get around it (other than hitting > refresh which fixes the problem). So far the only way we've found to > get around it is to not use those struts tags but surely there is a better way? > > Jennie > > > > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless specifically > stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. Please note that the > BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]