Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

php redirection

  • 03-01-2003 3: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