Hi, I try to use HttpSession to store some values but it is not working in AEM 6.2
Here is my test code when you click next you should see "my new value" instead null
<!doctype html>
<%@ page session="true" %>
<html>
<%
//HttpSession sessionCustom=request.getSession(false);
String oldValue = (String) session.getAttribute("val");
session.setAttribute("val", "my new value");
%>
<body>
<p>our old value <%= oldValue %></p>
<a href="">next page</a>
</body>
</html>
</body>
</html>
Solved! Go to Solution.
This is bug in jetty version.Solution upgrade jetty jar to version 3.4.0-B002
I have the same issue. I have some servlets that read objects from session. But I noticed the session ID keep changing in every request. Every time AEM 6.2 creates a new session. It looks AEM 6.2 doesn't support httpsession at all. Can someone please help?
Views
Replies
Total Likes
Hi,
we run into the same issue while trying to upgrade our app from 5.6 to 6.2. Wondering if you found a solution yet or not. I just submitted a ticket to Adobe, but not sure on how soon they will respond on that.
Thanks!
Varma.
Views
Replies
Total Likes
You're not alone, same issue here. Will open a ticket as well
Views
Replies
Total Likes
I would like to hear if anyone is using any temporary solution to get around it and at least be able to continue with the development efforts.
Views
Replies
Total Likes
This is a critical bug at the very foundation of app servers. Any workaround here would be essentially a hack. Our current hack is to save session values in the respository
Refer Adobe Experience Manager
This is bug in jetty version.Solution upgrade jetty jar to version 3.4.0-B002
Sh1ju your solution works. Might even be included in Service Pack 1
Views
Replies
Total Likes
Views
Likes
Replies