When is Jsession id created in Oracle ATG is it from JBOSS or ATG?

896 Views Asked by At

I want to know exactly where the session is being created. In Oracle ATG we are facing a post redirection Issue from CanonicalSessionHostnameServlet. When requesting the site through the domain name www.example.com/example?postSessionRedirect=www.exaple.com this problem happens, when requesting the site through the ip, this works fine and there is no redirection. Any help regarding the issue might be of great help.

2

There are 2 best solutions below

0
bated On

The documentation on this is extensive but to paraphrase the session is created by the application server under jboss:

When a request comes in without a session ID in the cookie or in the URL, the application server creates a new session for the requested web application.

When the singleSessionIdPerUser value is true (which it is in jboss), the application server uses the same session ID for all web applications, so lookup is not required. Note that the application server hands out the same session id, but not the same HttpSession object.

You can check this in dyn/admin under /atg/dynamo/ servlet/sessiontracking/GenericSessionManager.singleSessionIdPerUser

Information on how to share among multiple applications is available here.

It sounds like you might have a problem with your multisite configuration in the BCC.

0
sbaredd On

JSESSIONID is a cookie and this unique session ID is generated by the application server.