<?php

class SessionResetFilter implements InterceptingFilter {



	public function preProcess(RequestContext $request, ResponseContext $response) {
		if (array_key_exists('r', $_GET)) {
			session_destroy();
			die('session reset');
		}
	}



	public function postProcess(RequestContext $request, ResponseContext $response) {

	}



} // class SessionResetFilter

?>