Automatic Authentication Demo Page

This site consists of 2 pages:
  1. Introduction
    • The page you're seeing right now.
    • Free to access, visible to anybody
  2. The Pay-for-access Page
    • This page needs an Ipaya subscription in order to be seen
Note that this site is not hosted on ipaya.com, but on an entirely different site, which could be yours.
To try out the automatic authentication, click on The Pay-for-access Page.
When you click it, the following things happen in quick succession:
  • If you have a valid cookie, the page gets displayed. Otherwise, your browser is sent to Ipaya.
  • Ipaya checks if you are a current subscriber. If you are not, a page gets displayed. If you are, you're redirected back to this site.
  • A script on this site sets a cookie on your browser.
  • The script checks if the cookie was set successfully, and then redirects your browser back to the page you asked for in the first place.
  • Since you have a valid cookie now, the page gets displayed.
The process typically needs 1-2 seconds for the first access, and is instantaneous afterwards.

This page is hosted by xirrus