cancel
Showing results for 
Search instead for 
Did you mean: 

Session Timeout Redirecting to Customer Login from ASM Module

0 Kudos

Hi,

We are working on the B2B module for Hybris version 6.1.0.1. We are using the ASM module for our field agents. In case of a session timeout instead of the page redirecting to the ASM login page it redirects to the b2b customer login page. Same happens when we click on the logo in case of the session timeout.

Has anyone faced similar issues?

Can you suggest a possible solution on fixing the same.

Note: Out of the box as well we noticed the same behavior.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ajith,

That's kind of expected behavior. Let's think about it one more time - you had some customer being emulated. When sessions ends - backend loses any sights of Customer and\or Agent. Even about fact that ASM was opened -> as a result you've been redirected to Customer login page as configured per spring-security-config.xml.

If you want to change that behavior you need to increase Session Timeout when ASM is active (property assistedservicefacades.agentsession.timeout). For example you increased that to 2h. So as a result, when agent will be logged in: session timeout value will be set as 2h (timer will be still 10mins in case you didn't change timer property) after 10mins of inactivity - agent will be logged out but ASM panel will be still visible with login form.

P.S. You may also want to increase assistedservicefacades.agentsession.timer property from 600 (10mins) to something what suites you more, like 1hour (3600)