session management in Dispatcher for AEM 6.4 | Community
Skip to main content
Level 4
Jan 31, 2019 5:17 AM UTC
Solved

session management in Dispatcher for AEM 6.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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kiranc13433869Accepted solution
Level 4
Jan 31, 2019 12:05 PM UTC

issue solved.

thanks for your revert.

i am closing this question.

issue was with dispatcher file only.

3 replies

kiranc13433869AuthorAccepted solution
Level 4
Jan 31, 2019 12:05 PM UTC

issue solved.

thanks for your revert.

i am closing this question.

issue was with dispatcher file only.

Translate
New Participant
Jul 1, 2022 10:45 AM UTC

How did you resolve it @kiranc13433869 ?

Translate
Gaurav-Behl
Level 10
Jan 31, 2019 11:26 AM UTC

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.

Translate