On 9/27/2017 12:34 AM, fartyalvikram wrote:
>
> edmaa;2466802 Wrote:
>> On 9/23/2017 10:14 PM, fartyalvikram wrote:
>>
>>> I tried with user attribute and if match then redirect to Custom URL

>> but
>>> it's not working, they will goes into loop,

>>
>> Could that because the URL you are redirecting to is part of the path of
>> the protected resource?
>>
>>> So I am asking is there any solution for this.
>>> I am using NAM 4.3.

>>
>> I don't think so without any custom code
>>
>>
>> --
>> Cheers,
>> Edward

>
> Yes you are correct, URL we are redirecting to is part of the path of
> the protected resource.


So that is where your looping issue comes from.

> Can you please explain, which type of custom code is needed for this?


Virtual Attributes can't be incremented based on number of times you access somethign unfortunately. I'm not even how you would code for this with the
API. I think to do this you mgiht want to do what Kevin suggested. Have some smarts in the app that update an attribute in NAM


--
Cheers,
Edward