web/rsln-opendata/clear.php
changeset 120 3daa4039509a
parent 119 4c86151704e9
child 121 2b794b7901d6
equal deleted inserted replaced
119:4c86151704e9 120:3daa4039509a
     1 <?php
       
     2 
       
     3 /**
       
     4  * include some common code (like we did in the 90s)
       
     5  * People still do this? ;)
       
     6  */
       
     7 include_once './common.php';
       
     8 
       
     9 /**
       
    10  * Clear the Access Token to force the OAuth protocol to rerun
       
    11  */
       
    12 $_SESSION['TWITTER_ACCESS_TOKEN'] = null;
       
    13 
       
    14 /**
       
    15  * Redirect back to index and the protocol legs should run once again
       
    16  */
       
    17 header('Location: ' . URL_ROOT . '/index.php');