Link to home
Start Free TrialLog in
Avatar of blackfrancis75
blackfrancis75

asked on

How to prevent Struts <form> appening JSessionid

Hello,
My struts application generates an HTML form similar to the following;

<form name="reportForm" method="post" action="/access/report.do;jsessionid=5DCF3E28211E40A1DEF37CC5A00DBCA9">
   ... form elements ...
</form>

I have a two-part question:  what is the JSession id variable that gets appended to the action URL - my best guess is that its a unique UUID that the server uses for something or other?
Is it absolutely essential?  can't this Id be stored invisibly by the client browser?
I'd like to remove it if this won't disrupt the operation of my forms...

thx.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of blackfrancis75
blackfrancis75

ASKER

thanks, I have gotten rid of the JSessionId by using a plain HTML <form> element for the form in question.
I guess by doing this i'm sacrificing support for non-cookie enabled browsers...?
thats right, from the server perspective every request will be from a different session.