cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartedit application is changing current base site.

0 Likes
764

Hi Experts,

I'm facing issue with storefront's session values while using smartedit in same browser session.

  1. I've opened smartedit application and storefront in two different tabs in same browser. It loaded site for CMS site-A.

  2. Then, I navigated to page list for CMS Site - A and then opened a CMS page in smartedit application.

  3. And then, I refreshed the storefront(which is already opened in other browser tab), but it is not loading same page. When i check the cms site in session,It is changed to completely different CMS Site -B. It looks like Smartedit is overwriting the session values for the storfront.

Can you help me to resolve this?

Thanks and Regards,
.

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Likes

Please open the storefront and smartedit with different domains e.g. one with localhost and the other with 127.0.0.1.

arvind-kumar_avinash
Active Contributor
0 Likes

- did it help?

0 Likes

It is working with this approach. But Why the session values are getting changed when accessed with same domain?

arvind-kumar_avinash
Active Contributor
0 Likes

It is because your session cookie (and session fixation cookie) is stored against the localhost domain. The second login produces a new JSESSIONID and thus the two logins are not able to recognize each other. If you do not want to use 127.0.0.1, you can create a new alias for 127.0.0.1 in your hosts file.

Answers (0)