Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    36
    Plugin Contributions
    0

    Default Login loses browser history

    I have an odd issue I am looking for feedback on.

    While I am aware of *WHY* this occurs, and how, I am looking for solutions to the issue.

    What happens is, the customer comes to my website from a google search result, they add the product to their cart.

    Now they go to checkout, and register a new account, and log in.

    Now they decide they want some OTHER items , and want to return to the original page they were on when they first arrived - HOWEVER -

    They want to use the back button in their browser. Using the back button returns one only as far as the My Account page - it will not go back any further than that - - using the back button goes to the login redirect which ends up back on the My Account page. From the customer's perspective, they are stuck in an endless loop and cannot get back to where they were.

    Now what I want to do is find some way of hitting the back button and SKIPPING the login redirect - so that using the back button on the browser will go back history -2 instead of history -1 - is there any way to accomplish this task so that my customer can step back through from their logged-in cart , to arrive at their original entry page, (without getting stuck on that redirect loop after login) - Anybody have a solution to this ?

    In short, my website works normally for most people, however inexperienced users that only know enough to use the back button on the browser to get back to a previous page get caught in that loop - they get frustrated and give up, and go elsewhere! (Thanks to Recover Cart Sales add on for helping me identify this issue - one customer out of 10 actually bothers to reply back! )

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Login loses browser history

    There are some pretty smart folks here, so someone may have a suggestion, but I can't think of a way you could control what a visitor's browser sees as the last page visited.

  3. #3
    Join Date
    Apr 2009
    Posts
    36
    Plugin Contributions
    0

    Default Re: Login loses browser history

    I agree - Not going to even try to manipulate the user's browser. I am hoping someone may have a solution to the redirect issue or some way to intelligently manipulate the redirect (I.E. if the referring page is My Account, then do not redirect there but instead do a history.go(-2) or some such to skip past the redirect, or kill the redirect and let them click back button from that point. ) - Just a it of logic, I'm sure could solve that, but I wanted to see if anyone can make it easier for me than me having to go and dig through piles of code and tracing the logic - in other words, point me at the file and the line # where the logic might be effectively put in place to check if the referring page is the same as the page that it is going to redirect to, and if so, then break the redirect and just show a "Click here to go to your Account Page" or some such - that way the user is not getting stuck in an endless redirection loop when trying to use the back button :)

 

 

Similar Threads

  1. Google Chrome Browser admin login problem
    By demiros in forum General Questions
    Replies: 20
    Last Post: 26 Oct 2016, 01:52 AM
  2. Browser times out trying to display login.php on GoDaddy host
    By arthart in forum Installing on a Linux/Unix Server
    Replies: 20
    Last Post: 29 Aug 2011, 06:37 AM
  3. Can't login after upgrade to 1.3.9e: solution = clear browser cookies
    By badarac in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 4 Aug 2010, 08:47 PM
  4. SSL - admin login page browser warning
    By Crunch in forum General Questions
    Replies: 4
    Last Post: 9 Jul 2009, 12:05 AM
  5. Cross Browser Issue With Split Login Page... CSS or DIV?
    By limelites in forum General Questions
    Replies: 8
    Last Post: 4 Jun 2009, 12:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR