Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

session management in Dispatcher for AEM 6.4

Avatar

Level 4

Hi,

i am migrating my site from aem 6.1 to aem 6.4

in my site i am using httpsession for maintaining some values.

while moving this to AEM 6.4, sessions are working in author and publishers.

but when i hit the same with dispatcher IP, i get null values in session variables.

my current structure is 1 author, 1 publisher 1 dispatcher.

do i have to use sessionmanagement  in dispatcher?

but i am not using any aem user for creating sessions.

is it relevant for my case?

even though i tried using it but no use.

  /sessionmanagement

{

/directory "/usr/local/apache/.sessions"

/timeout "800"

}

Kindly provide solution for this case.

1 Accepted Solution

Avatar

Correct answer by
Level 4

issue solved.

thanks for your revert.

i am closing this question.

issue was with dispatcher file only.

View solution in original post

3 Replies

Avatar

Level 10

Could you share dispatcher and error logs in debug mode?

Have you allowed appropriate headers allowed in dispatcher.any?

Could you share more details about  "i am not using any aem user for creating sessions." ? How are you managing sessions?

In addition to that, please check that the path "/usr/local/apache" exists and your root user/apache user (configured to run apache) has read/write access on this path.

Avatar

Correct answer by
Level 4

issue solved.

thanks for your revert.

i am closing this question.

issue was with dispatcher file only.