-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep browser opened after connection is allowed #281
Comments
Apple does a similar thing too when it detects that http requests are no longer being redirected, you could try displaying the adds before allowing the client through the firewall.
… On 12/07/2017, at 13:54, Irfan Amir ***@***.***> wrote:
Hello,
We are facing this issue. When a user connects and is authenticated by auth server, browser window is closed automatically on android 5+. We want to keep it open so that we can show some advertisement after user is authenticated.
Any idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@iffifan I think this is related to device manufacturer an how they deal with captive portal. |
@Tr4cer0ute Can we fix it with firmware? I am ready to pay if anyone can help. |
@iffifan You simply have to change how your authenticator works. The gateway will check with the authenticator if user is already logged in, if so, it will enable futher connections. You just have to change your authenticator behaviour, by only answering the user status after some seconds or after some user action. |
@lgaitan |
How about whitelisting the adserver ip/subnet so the add can display before the user is allowed through the firewall. Display the add to the user with a countdown timer, when the timer has finished internet is allowed. If the user clicks on the add – internet is allowed from this point onwards and the browser immediately redirected to the advertised website. This may work even if the user doesn’t see the advertised website before the browser window closes, however because the add was clicked, the browser should still follow the series of redirects until it is redirected no more - resulting in the advertising company registering it as a click.
From: Irfan Amir [mailto:[email protected]]
Sent: Thursday, 20 July 2017 3:57 p.m.
To: wifidog/wifidog-gateway
Cc: gareth41; Comment
Subject: Re: [wifidog/wifidog-gateway] Keep browser opened after connection is allowed (#281)
@lgaitan <https://github.com/lgaitan>
I understand what you mean.
We allow internet after user accepts terms and conditions.
Now if you are saying that we should show ads before allowing internet then it is possible but we also want user to navigate to ad website. So I think it is not about when we allow internet. If browser is closed when internet access is provided then it is an issue. because we want user to have browser opened even after authentication.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#281 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AL0MnQsMWXvtwh2a1LKKz50AMnHEp2mUks5sPtAIgaJpZM4OVBvV> . <https://github.com/notifications/beacon/AL0MnUiExhLD9UaQvANi-7B6MyQgxSaTks5sPtAIgaJpZM4OVBvV.gif>
|
@iffifan faced the same problem here, i used a solution to prevent auto portal poping up(it's a system window not a browser), so that users must open a browser to navigate to the portal page, and the browser won't close itself after login. |
see my comment here #287 |
Hello,
We are facing this issue. When a user connects and is authenticated by auth server, browser window is closed automatically on android 5+. We want to keep it open so that we can show some advertisement after user is authenticated.
Any idea?
The text was updated successfully, but these errors were encountered: