Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Redirect 302 from portal HTML page possible?

    Captive Portal
    1
    1
    217
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nemesisdev
      last edited by

      I'm hosting the captive page code on a different host.
      Right now the redirect is being done with HTML meta refresh tag, however, I wonder if it's possible to send HTTP 302 header instead? Last time I tried this wasn't working, probably header section is already closed by the time this code is included, I wonder if there is another way or if there's any other information I am missing on this topic.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.