changes sqlcounter to resetminutes on freeradius? - freeradius

hi i'm new in free radius server and i want to change sqlcounter to minutes like if user login 10 minutes and time done he can login again after 10 minutes so i want to change to minutes so if user have login time is 10 minutes and timeout he can login again because our sqlcounter is set to 10 minutes like that
hourscounter
Thank you

Related

I need keep my login session for 2 hours in application

I have tried in local that mean application source code it working.but when i was deploy in live server that time is not working.that session will expired in 20 mins. below i mention the code

Ios Voip Apns Push Notification Delay by 4 minutes

I am using AMAZON SNS but facing a delay in push notification reception by 4 minutes, can you help me with this ?
Another Query would that if it is possible can you provide me with the guidelines for my Objective-C front-end developers, if in case it happens to be there fault in any case ?
As per the AWS documentation here, there is possible delay if the message delivery is failed in the initial attempts
Mobile push: If the mobile endpoint is not available, SNS will retry 2 times immediately, 5 times at 20 seconds apart, then 31 times exponentially backing off from 20 seconds to 20 minutes and finally 12 times every 20 minutes for a total 50 attempts over more than 4 hours before the message is discarded from SNS.

How to call to a method when device clock's minute changes in objective-c

I want to do something like this. When my view load I am showing the server time on my view. and what I want to do is when my device clock minute changes I want to call to the service again and get the server time. Is there any event fire when the device clock's minutes change? Or how can I capture that? Please help me.
Thanks
You could fire an NSTimer every 10 seconds and check the minutes in NSDateComponents.

sessionTokenRequirment lifetime

When you set the lifetime attribute of
<sessionTokenRequirement lifetime="00:10" />
Does that mean the token will expire in 10 minutes if there is no activity (no POST OR GET,etc) I am wondering if the user makes a post or get does it reset it back to 10 minutes. What I want is for the user to be logged in as long as they are actively using the app which should hit the server every minute or so. If they they stop using the app, I automatically log them out, but what I don't want is if they use the app for 11 minutes their claims have been removed. Could someone point me in the right direction?
Is it like the session timeout which times out if the user remains idle? If not is there something like that? Or am I using it in the wrong way?

iOS auto-renew expired at the end of current subscription period

I ordered a auto-renew product, After 5 minutes ,it become expired!
I think in Sandbox 5 minutes is equal to 1 month,
At the end of current subscription peroid(after 5 minutes), it should't be auto-renewed?
but it become expired.
In the sandbox environment, auto renewable subscriptions are much shorter than the actual time. From this answer:
Actual duration Sandbox duration
1 week 3 minutes
1 month 5 minutes
2 months 10 minutes
3 months 15 minutes
6 months 30 minutes
1 year 1 hour
And although this fact is not documented, according to some developers in Apple's developer forum (and my own experience), subscription will renew 5 times before you get 21006 error (subscription expired error). So if you have a 1 month subscription, it will be renewed every 5 minutes for 25 minutes. Don't rely on this fact though, as it's not officially documented and might change anytime.
This is my experience as well. Auto-renewing in the sandbox environment is inconsistent. On some occasions I've seen a sandbox subscription auto-renew about 5 times before ending. But on other occasions it doesn't auto-renew at all. I assume these problems don't exist in the production environment.
I have experienced this as well, but if I kill the app from the multitasking tray (or stop the process in Xcode) and relaunch, I get an updated transaction with state "SKPaymentTransactionStatePurchased" that essentially renews the subscription. Check that out. It will at least give you something. Very frustrating that this is so inconsistent and not in alignment with the documentation.

Resources