search Script ->Hotspot User Automatic logout after 24h

I would like hotspot user logout forget that, after 24h automatic out.

can help someone with a script ???

ROS V3.10

Not script, but think I know your problem. Maybe this help. In user profile set an idle time out time. Maybe 15 min. This cause user to automatically log out if not using internet for 15 min and as soon as user use internet, the cookie logs him back on. Won’t even know it happened.

no, the idle timeout is not the problem, but the Netwatch services such as these produce Dude and a little traffic, but not enough to the idle timeout to allow access if customers forget to off or close the window and thus not logout ..

To ensure that the sessions not very long,
The sessions greater than 24 hours via script disconnectet ..

I have about write a small script was running via Scheduler every 15 minutes..

:foreach i in=[/ip hotspot active find] do={
:if ([/ip hotspot active get $i uptime]>23:59:59) do={
/ip hotspot active remove $i
}
}

Hi itsh.net ,

Your Script very nice..
can u write hotspot script for automatic logout if browser mozila and IE close or komputer restart ?.

i have some problem with this,

Thanks
J

You don’t need a script to achieve this

From your win box

Ip>>>HOTSPOT>>>>SERVER PROFILES>>>>(PROFILE NAME)>>>>>LOGIN

uncheck cookie

Hope this helps
Dont forget to karma

hey
i unchecked the cookie from the server profile
but the idle time is not working its just keep 0 then 1 not more
any idea plz?

Hi awa1123

Sorry for the late reply

Kindly explain your problem

Hi…

The best way to do for the hotpost is…
idle time out=00:05:00
keep alive time out=00:02:00

this become server will check the user every 2 minutes, if the user close the laptop or reboot the laptop, for sure when login will show already login, but, after 5 minutes, hotspot will kick this user out as met the 5 minutes idle time out.

and set the cookie to be 1 day…