Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

php redirection

  • 03-01-2003 04:30PM
    #1
    Closed Accounts Posts: 59 ✭✭


    The variable $HTTP_REFERER will store the url of the last page visited
    Is there any way of storing the 2nd last or 3rd last page visited?
    Otherwise I get caught in a loop when I hit the back button 2 or 3 times...


Comments

  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    The variable $HTTP_REFERER will store the url of the last page visited Is there any way of storing the 2nd last or 3rd last page visited?

    Not without storing it somewhere, and updating it as you go. Sticking it in a session would be one idea...

    Otherwise I get caught in a loop when I hit the back button 2 or 3 times...

    but this sounds wrong anyway. Go into a little more detail, maybe post some code.

    adam


Advertisement
Advertisement