Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

When you log in on the touch site, it should take you back to the page you were on.

  • 29-04-2015 01:52PM
    #1
    Registered Users, Registered Users 2 Posts: 17,798 ✭✭✭✭


    Right now, when you login on the touch site it takes you back to the homepage. However, presuming globals are enabled in this server's PHP config, the referring URL is stored in a global variable,
    $_SERVER['HTTP_REFERER']
    

    What you can do is, pass this variable from the initial log in page to the success page as a hidden form value. That way, you can then offer a link back to it, or a redirect back to it, from the success page.

    On mobile, having to click back through the log in pages to get to where you were results in numerous "are you sure you want to resubmit this form?" bollocks. This would eliminate the need for that.

    What say ye?


Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.

Advertisement