writing session data to the results page still shows the access not con figured error:
Access Not Configured. Please use Google Developers Console to activate the API for your project
in the google developers console, make sure that the custom search API is enabled in the API section.
in the credentials section, edit the allowed referrers for the API and enter your site address as: