Community discussions

MUM Europe 2020
 
mostafaalsaady
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Fri Mar 14, 2008 7:39 pm
Location: IRAQ

Hotspot cookies

Fri Jun 26, 2015 2:47 pm

Dear All,
Greeting

I have a question about Hotspot cookies

I want to set the cookies time to delete for 1 day just for the trail users NOT FOR REGULAR USERS?
is that possible to do depending on the user for the trail user that begins with ( T- )MAC

could you help me with this problem.


Best Regards
LearnING MikrotiK
MTCNA - MTCWE - MTCRE - MTCTCE
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Hotspot cookies

Fri Jun 26, 2015 6:58 pm

Adjust it in the trial user's profile.

Setting in their profile apply only to them. Other users would be using a different profile where the session timeout would be different... Trial users are using a different profile from everyone else, right?
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
mostafaalsaady
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Fri Mar 14, 2008 7:39 pm
Location: IRAQ

Re: Hotspot cookies

Fri Jun 26, 2015 8:58 pm

Dear thank for your replay,
they are all on the same profile for regular users and trail .
LearnING MikrotiK
MTCNA - MTCWE - MTCRE - MTCTCE
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Hotspot cookies

Sat Jun 27, 2015 11:33 am

Well, make a separate profile then. You can use the "copy" command to make sure everything is initially the same.
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
mostafaalsaady
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Fri Mar 14, 2008 7:39 pm
Location: IRAQ

Re: Hotspot cookies

Sat Jun 27, 2015 5:01 pm

OK for the other profile
but how would i the server know that they on the other profile? for the trail users?
LearnING MikrotiK
MTCNA - MTCWE - MTCRE - MTCTCE
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Hotspot cookies

Sat Jun 27, 2015 7:56 pm

In the server profile, you have a setting called "trial user profile". Switch it to that other profile.
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
mostafaalsaady
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Fri Mar 14, 2008 7:39 pm
Location: IRAQ

Re: Hotspot cookies

Sun Jun 28, 2015 11:41 am

Thank you dear for your help and support
LearnING MikrotiK
MTCNA - MTCWE - MTCRE - MTCTCE
 
mostafaalsaady
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Fri Mar 14, 2008 7:39 pm
Location: IRAQ

Re: Hotspot cookies

Tue Jun 30, 2015 5:35 pm

In the server profile, you have a setting called "trial user profile". Switch it to that other profile.

Dear

I just checked the Hotspot service could be active on one profile only??
and it should use 1 user profile ?

i couldn't make two profiles one for the service and one for the trail ???
LearnING MikrotiK
MTCNA - MTCWE - MTCRE - MTCTCE
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Hotspot cookies

Tue Jun 30, 2015 6:29 pm

The "profile" setting in "Servers" refers to the "hotspot server profile", not "user profile".

Individual users can have any user profile (out of unlimited profiles). When you create a hotspot user, you specify the hotspot server they can login from, as well as their user profile.

Trial users can be of only one user profile though. You can't have several kinds of trials, but just one kind of trial, and unlimited "normal" user profiles.
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
mostafaalsaady
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Fri Mar 14, 2008 7:39 pm
Location: IRAQ

Re: Hotspot cookies

Tue Jun 30, 2015 9:49 pm

The "profile" setting in "Servers" refers to the "hotspot server profile", not "user profile".

Individual users can have any user profile (out of unlimited profiles). When you create a hotspot user, you specify the hotspot server they can login from, as well as their user profile.

Trial users can be of only one user profile though. You can't have several kinds of trials, but just one kind of trial, and unlimited "normal" user profiles.

That's Right but I'm using Radius manager for user authentication.

could we do it on scripting ?
like delete the cookies just for the trail user ??? every day>????
LearnING MikrotiK
MTCNA - MTCWE - MTCRE - MTCTCE
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Hotspot cookies

Wed Jul 01, 2015 12:17 pm

That's Right but I'm using Radius manager for user authentication.
With User Manager, you need to add "group-name" which is the name of a hotspot profile, or alternatively, specify everything in RADIUS, at which point the router will use the default profile for any unspecified values, but use the rest from RADIUS.
like delete the cookies just for the trail user ??? every day>????
That's what the "Trial uptime reset" setting is for.
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
mostafaalsaady
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Fri Mar 14, 2008 7:39 pm
Location: IRAQ

Re: Hotspot cookies

Wed Jul 01, 2015 4:10 pm

That's Right but I'm using Radius manager for user authentication.
With User Manager, you need to add "group-name" which is the name of a hotspot profile, or alternatively, specify everything in RADIUS, at which point the router will use the default profile for any unspecified values, but use the rest from RADIUS.
like delete the cookies just for the trail user ??? every day>????
That's what the "Trial uptime reset" setting is for.

Dear
thank you very much for your help
i solved the problem with last update for Mikrotik 6.29.1
the new add
now we can choose a profile just for trail users

thank you a lot dear
LearnING MikrotiK
MTCNA - MTCWE - MTCRE - MTCTCE

Who is online

Users browsing this forum: No registered users and 27 guests