Hi Everyone,
I am using the information in this article http://wiki.mikrotik.com/wiki/HotSpot_external_login_page to login through my website and it works fine, but I have what I think is a unique situation that I need some help with, but perhaps some of you are doing the same or a similar thing as me…
I want it to work like this:
login.php on my website needs to have a small banner ad coded in it that is clickable. I have created the banner ad and added the code to the login.php file. It displays fine.
When the banner is clicked, I want it to load login2.php (an exact duplicate of the code in login.php, except with a different banner ad picture that the user can click to go to a website or ignore and click the “free trial” to use the internet).
The problem I seem to have is that the banner ads display perfectly on login.php and login2.php, the “free trial” works fine on the login.php page, but from login2.php the “free trial” doesn’t work. When I click it, it is as if nothing happens and it stays on the page without allowing free internet access. I can only presume that it doesn’t work from the login2.php page because it must have lost it’s variables settings? If I press the back button to go back to login.php page, the free trial works again.
Can someone please help me figure this out. I will pay for consulting, I really need ot get this working.
Thanks!
Rick