My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 141: WorkSheet : when cookies are disabled, javascript function submitWsColumn don't encode URL with session id
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by yoann.bo...@gmail.com, Sep 5, 2008
What steps will reproduce the problem?
1. Disable cookies in tomcat context : add cookies="false"

What is the expected output? What do you see instead?

Interaction with the worksheet that call the 
org.jmesa.worksheet.servlet.WorksheetServlet servlet don't know
the session because the jsessionid is not join in the ajax url.

What version of the product are you using?  2.3.4
On what operating system? winxp


Solution : in the jmesa.js instead of :

jQuery.post('jmesa.wrk?', eval('(' + data + ')'), function(data) {});

replace with :

jQuery.post('jmesa.wrk;jsessionid='+jsessionid+'?', eval('(' + data + ')'),
function(data) {});
 
and declare in a JSP file :

<script type="text/javascript">
  var jsessionid = '<%=session.getId()%>';
</script>

Thks,
Yoann

Sep 8, 2008
Project Member #1 jeff.johnston.mn@gmail.com
Thank you for the post...this is really good to know. For now I will just write this
up on the recipes in the wiki.



Powered by Google Project Hosting