More fields on portal page



  • I am looking to create a bilingual captive portal page (where users can select their language), but I would like this to be remembered on the error and redirected pages.

    What's the best option:

    PHP session variables or cookie?
    Additional form field?


  • Rebel Alliance Developer Netgate

    I'd say cookie is your best bet for that.



  • I have tried to cookie option, but now have a problem setting it. For some reason, I am unable to read QueryStrings e.g. ?language=eng as the Captive Portal seems to ignore them.

    Until I can get the $_GET to work, I think the only option is client side Javascript to set the cookie.


Log in to reply