Ipaya Welcome Access Pages Publish Pages Your Account
 
Overview Resources Sign up
Navigation
Technical details
  >Overview
  •Setup guides
  •How reported hits are checked
  •Special case: Frequently changing pages
  •API Specs
  •Back to Resources
 
Overview
Basics
People visiting your pay pages are automatically authenticated by Ipaya as having a valid subscription. You record every page they request. Every 12 hours, we call your server and copy these records into our database.

How the automatic authentication works
Step 1: User requests the url of an article at your site. You check if he has a cookie for your site. Since he doesn't, you redirect him to Ipaya
Step 2: Ipaya sees that he is a subscriber because he has a local cookie for Ipaya. Ipaya redirects user back to you to set a cookie
Step 3: You make some background checks and then set the cookie
Step 4: You check if the cookie was really set and redirect the user to the original url
Step 5: Since the user now has a cookie, you display the page
Steps 1-5 take only 1-2 seconds for first-time visitors. Afterwards, it's normal browsing speed.

Flowchart of the automatic authentication

Example
Try out this process here:
http://www.xirrus.ch/ipaya/

About temp_anon_user
This means temporarily, anonymized user. We send you this variable so that you can record who visits which page on your site, and that you can report this data back to us. It's temporary because it's only valid for 24 hours and anonymized because you don't know who's behind it.

The "Set cookie" script
This is your script in step 3 that makes some background checks, sets a cookie, checks if the cookie was set (step 4), and then redirects the user to the original URL he wished to see.

What happens if subscribers share their Ipaya subscription with others?
Well, it's not allowed. Technically, we track the IPs from which the "check user" function is called and may disable that account.

The reporting script - how your records are copied to the Ipaya database
Every 12 hours, the Ipaya copying function connects to your webserver at a secret, password protected URL - your "reporting script". Your server outputs all visits it has received. The Ipaya copying function behaves like a web browser to read the page and then copies the information into the Ipaya database.

More in-depth information
Detailed information on the technical workings can be found on the page
API specs.


Contact - User Agreement - Privacy Policy
Copyright © 2003 Ipaya