session management in Dispatcher for AEM 6.4 | Community
Skip to main content
New Participant
January 31, 2019
Solved

session management in Dispatcher for AEM 6.4

  • January 31, 2019
  • 2 replies
  • 2383 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kiranc13433869

issue solved.

thanks for your revert.

i am closing this question.

issue was with dispatcher file only.

2 replies

kiranc13433869AuthorAccepted solution
New Participant
January 31, 2019

issue solved.

thanks for your revert.

i am closing this question.

issue was with dispatcher file only.

New Participant
July 1, 2022

How did you resolve it @kiranc13433869 ?

Gaurav-Behl
New Participant
January 31, 2019

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.