3

When I visit the what's new page on lego.com, I'd like to be able to share a result list including the filter I set in the left column (in my case limit to Duplo). At the moment when I set Duplo I get an updated URL ending with productListing.jsp?_requestid=XXXX

Unfortunately, this URL is just relevant for my session and can not be shared. Is there any way that you know of to get a direct link to a result list on lego.com shop?

1 Answer 1

3

Unfortunately the shop.LEGO.com website has a number of issues, and the fact that all transactions are handled server-side and not bookmarkable on the client is one of them (this might be intentional on behalf of LEGO but I don't know why). Other issues are that from time to time the website will refuse to display search results (it will just show you the home page of the shop if you do), or that the navigation buttons at the bottom of a category listing ("View: 25 | 1 | 2 | 3 >") take you back to the home page. For those the best solution is to either close your browser and open a fresh browser, or to use the Private Browsing/Incognito Browsing options of your browser to simulate creating a new session.

For background, the shop.LEGO.com uses Java Server Pages (jsp) which store their status in a cookie and in server-side maintained information. So when you navigate, your browser does not know where you've gone to - only LEGO's server knows. This all works fine as long as you have an active session with LEGO, but as soon as your session expires (e.g. when you bookmark a specific place on the site and revisit that bookmark a few days/hours later) all that information is lost.

TL;DR: No you cannot save a direct link to a page on shop.LEGO.com as that site is programmed to store link information on the server, not in the client (as a browser URL).

3
  • Thanks Phil, I had reached the same conclusion and this detailed answer tends to prove that, unfortunately, there is no way to direct link :(
    – Sylvain
    Dec 19, 2015 at 17:09
  • 1
    JSPs do not inherently require storing the search state on the server. It's merely lazy programming, or intentionally making it difficult, that results in this behaviour. In any case, it's helpful to erase all your cookies from the lego site from time to time as their site does get confused. Dec 20, 2015 at 2:43
  • @Mr.ShinyandNew安宇: Indeed, and I didn't say that all JSPs do this - just the JSPs LEGO uses do .... I could have formulated that sentence a bit better to remove the ambiguity.
    – Phil B.
    Dec 20, 2015 at 3:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.