%
String albumId = request.getParameter("albumId");
String albumName = request.getParameter("albumName");
String cookie = request.getParameter("sessionCookie");
String sessid = cookie.substring(cookie.indexOf("=")+1,cookie.indexOf(";"));
Cookie c = new Cookie("JSESSIONID",sessid);
String currVal = c.getValue();
c.setPath("/thalia-ime");
response.addCookie(c);
response.addHeader("Cookie",cookie);
// We need to be able to add the cookie to the client browser, so it gets set, and sent
// I think we need to do this from a servlet
// HttpServletResponse response = ??
// response.addCookie(c);
%>