Announcement

Collapse
No announcement yet.

'Intelligent' login redirect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    'Intelligent' login redirect

    I've been tearing my hair out trying to find a solution to this, and the previous threads haven't covered this (I don't think). Once a user logs in, I want them to be redirected to the page they were on before they clicked the 'Log In' button. Hard-coding an alternative page is no problem, but I want the user to be able to continue browsing from where they left off.

    I tried creating the Login link dynamically, adding the current page URL to the SECTIONID of the link. This works great when the user is clicking from a .html page, but obviously won't work when clicking from View Cart or a search page.

    Does anyone have any more ideas, or am I asking too much?

    #2
    Hi There,

    For the login and search pages, SearchScript requires a valid section page
    name to be able to link to, in this case a dynamic page can't be given.
    It would need a major code change to be able to achieve what you require.

    This is something for the wish list. I will put your request up there for you.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      This is just what I have been searching the forum for!

      When a customer has been browsing, and then logs in, it would be great for them to be able to then go straight back to the page they were on.

      Any update yet?
      Sam
      http://www.originaltouch.co.uk
      http://www.spcb.co.uk

      If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

      Failure is the tuition you pay for success.

      Comment

      Working...
      X