Skip to Content
author's profile photo Former Member
Former Member

originalReferer

I have 2 languages English and korea. I go to PLP page with english as language. I change language from english to korea it retains the PLP page. Now i change from korea to english, it goes to homepage/landing page.

I chaked the issue : It goes to : Class : StoreSessionController Method : selectLanguage() , from hee goes to getReturnRedirectUrlForUrlEncoding()

In this method we have final String originalReferer = (String) request.getSession().getAttribute(StorefrontFilter.ORIGINAL_REFERER);

The value at this location is return is different like : From english to korea language change it gives the whole url. From korea to english language change it gives only the base url (localhost:9002/xyzstorefront/)

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2017 at 11:03 AM

    Hi Amardeep, If u got the solution for above issue please post your solution.Even i am facing the same issue.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.