On 11/03/2011 19:47, "Sarwar Bhuiyan" <[email protected]> wrote:
>Found another problem although slightly different. Although the session
>objects in the Sling JSP are accessible by
>request.getSession().getAttribute("key") they are not accessible via
><c:out
>value="${sessionScope.key}" /> (jstl). I have no problem with the
>requestScope objects but the sessionScope objects are null.
We found the solution (or almost). It was the <@page session="false"
within the CQ's global.jsp.
Removing the session=false makes jstl sessionScope works fine. Don't know
exactly why with that header request.getSession().getAttribute works,
while jstl's sessionScope not.
Davide