Site Map
Tools
Authorizations:
›› remove

 

alwayson Attribute

iCents.net has specific functionalities to carry out the compatibility between micro-subscriptions and traditional subscriptions. The website does not need to create different pages for subscribers and micro-subscribers. When the Internet user logs into the website as a subscriber, the website can easily turn off iCents for this user using the iCents.TurnOff function.

When iCents is turned off, all paid-links immediately behave like regular links, without payment. Even micro-subscription buttons are green, indicating that their access is unlocked. The website can turn iCents on and off whenever necessary, without the need for page reload.

 

But even when iCents is turned off, you can use the alwayson attribute, by means of alwaysOn="true" to enforce some paid-links to keep working as paid-links, as if iCents were turned on only for them. That is, such links will still require payment. For example:

<a alwayson="true" href="test.html" price="0.01 USD">paid-link</a>