Hi,
So I managed to find a way to do the same thing the PHP code was doing, but using Javascript.
I did not write this code, I had help from a Java developer where I work.
In the top of your HTML page define your javascript section.
<script type="text/javascript">
</script>
Next, we define a function that will capture the portain of the URL we want to carry forward to the next page. The URL you define should be the page that you want to link to.
<script type="text/javascript">
function redirectURL()
{
var res = document.URL.split('?');
window.location = 'https://page.mycompany.com/guest/GuestRegistration.php?' + res[1];
}
</script>
Then, in my case I was using an <a href..> to provide a link to the guest registration page. Modify the link to call the javascript function.
<a href="#" onclick='return redirectURL();'>Guest Registration Page</a>
You can then create multiple functions based on the number of links you need to carry the MAC information forward on. I know this isn't as pretty as the built in system that @cappalli is talking about. But it will do the trick to get you past your initial landing page.
And as a result of doing this, the built in Aruba solution can then take over on the next page, as long as you are hitting one of their builtin pages. In my case I am hitting an Onboard page generated by Aruba.
When I dumped the contents of the variable below on the linked page as @cappalli described, I could see that it contained all the important information about the device.
{dump var=$extra_fields export=html}
Thanks @cappalli for your information it was great help.