Community discussions

MikroTik App
 
kounkhla
just joined
Topic Author
Posts: 5
Joined: Tue May 19, 2009 5:26 pm

Close browser then disconnect user from hotspot.

Tue Jan 18, 2011 5:01 pm

Dear All Guy!!!!


I want to close browser then must disconnect user from hotspot. Have anybody known about this? please help!!!

Thanks..
 
User avatar
nest
Forum Veteran
Forum Veteran
Posts: 822
Joined: Tue Feb 27, 2007 1:52 am
Location: UK
Contact:

Re: Close browser then disconnect user from hotspot.

Wed Jan 19, 2011 2:55 am

Check what value you have set for idle-timeout under /ip hotspot user profile. After this amount of time, the authenticated user is automatically logged out after no network traffic, so there is no need for user to log out with any browser function.
 
kounkhla
just joined
Topic Author
Posts: 5
Joined: Tue May 19, 2009 5:26 pm

Re: Close browser then disconnect user from hotspot.

Thu Jan 20, 2011 8:44 am

it good, do you have script or any idea about this? I want to disconnect when user close his/her browser.
 
User avatar
nest
Forum Veteran
Forum Veteran
Posts: 822
Joined: Tue Feb 27, 2007 1:52 am
Location: UK
Contact:

Re: Close browser then disconnect user from hotspot.

Fri Jan 21, 2011 1:51 am

 
User avatar
111111
Member Candidate
Member Candidate
Posts: 195
Joined: Thu Oct 05, 2006 1:39 am
Location: BG,SOFIA

Re: Close browser then disconnect user from hotspot.

Mon Mar 14, 2011 12:08 pm

Аlso should be stopped all programs with use Internet too
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Close browser then disconnect user from hotspot.

Mon Mar 14, 2011 2:59 pm

So how do you propose the router magically gets control over other computers? That is - thankfully - impossible.
 
usmany
Member Candidate
Member Candidate
Posts: 144
Joined: Sun Dec 20, 2009 3:20 pm
Location: Nigeria
Contact:

Re: Close browser then disconnect user from hotspot.

Tue Mar 15, 2011 10:20 am

That will not help sort what the first guy asked... idle timeout is not what we want... as they said we need another option as stated (browser closing).

I hope someone will help us with way out.
 
User avatar
111111
Member Candidate
Member Candidate
Posts: 195
Joined: Thu Oct 05, 2006 1:39 am
Location: BG,SOFIA

Re: Close browser then disconnect user from hotspot.

Tue Mar 15, 2011 11:17 am

/ip hotspot profile
set default http-cookie-lifetime=1m
/ip hotspot
add address-pool=HS-POOL idle-timeout=1m ....
but user will not log out until he/she stop make traffic for 1 minute
all programs such skype msn and torrent etc. should be stopped

to test it use torch tool
 
usmany
Member Candidate
Member Candidate
Posts: 144
Joined: Sun Dec 20, 2009 3:20 pm
Location: Nigeria
Contact:

Re: Close browser then disconnect user from hotspot.

Tue Mar 15, 2011 11:31 am

/ip hotspot profile
set default http-cookie-lifetime=1m
/ip hotspot
add address-pool=HS-POOL idle-timeout=1m ....
but user will not log out until he/she stop make traffic for 1 minute
all programs such skype msn and torrent etc. should be stopped

to test it use torch tool
Thanks, we will test the code and get back to you with update.

Who is online

Users browsing this forum: No registered users and 10 guests