user hotspot time left after log out

I have RB2011UAS-RM with Hotspot.

I need to configure a user profile, for users are active for 7 days from the creation or beginning of first session. And to continue counting the time after logOut.

How I can configure these users or user profiles?

Thanks

Are you using usermanager?

if so then besides the uptime setting created in the profile limitation, you also need to set the validity on the profile page and set this to the same time..then from first login the clock begins.

http://wiki.mikrotik.com/wiki/User_Manager/Profiles

see section on validity…is this what you are looking for?

I don’t use usermanager. I create user on a personal software with API.

I think another solution to my problem is configure User Profile whith Session Timeout, Idle Timeout, Keepalive Timeout and user limit uptime to 7 days.

This way when users logIn may never do logaout. (I modify HTML files for hidde logOut button).

But, I have confidured “Shared User” to 1. I don’t want more than a device for a user in a same time.

When the second user tries to connect error appears “No more sessions for this user”. I want that when the second device login, the first device is automatically disconnected and connect the second device.

How I can configure hotspot for this function?
Is it possible without user confugurarlo manager?

Thanks and sorry for my bad English