|EIO-LCA Web Forum
|Problems with Sessions / Batch Downloads
|Page 1 of 1|
|Author:||hscottm [ Tue Mar 20, 2007 9:53 pm ]|
|Post subject:||Problems with Sessions / Batch Downloads|
Over the last 6 months, we have seen an increasing number of people "downloading the data from EIO-LCA in batch" by copying and pasting the URLs for displaying results and just iterating through all of the sector numbers (all 500 of them).
This puts a big load on the server, and actually causes other problems because the cache on the server fills up and fails, causing the entire site to become inoperable. Since we share the server with other groups, filling the cache is not an acceptable outcome.
NOTE: For those of you wishing to download EIO-LCA data, please check the web page at http://www.eiolca.net/data.html to see all of the source data we make available, including a MATLAB environment that can "run the model for all 500 sectors" which puts no load on the server.
Thus we had to build in a check to ensure that you got to the "display results" page sequentially by using the website, and were not just pasting in a URL to get results. Specificaly, in the short term we have implemented this check by looking at the "HTTP_REFERRER" tag in your web browser to make sure its coming from "eiolca.net" (our site).
The problem is, some firewall programs have a default option to turn off the passing of your HTTP_REFERRER tag. If that happens, then even if you are using the site as designed (walking through the pages one by one, not pasting in a URL), then the server will give you an error message like:
Your session has expired - are you trying to download data in batch?
If you want to avoid getting this error message, and are not pasting in URLs, then you will need to de-activate this feature of your firewall. Unfortunately, all firewalls configure this differently. An abridged guide to configuring various firewalls to fix this is located at:
If you have trouble configuring your browser to allow this HTTP_REFERRER to be sent, check with a local computer admin.
Note we are working on a more elegant solution and hope to have it done soon (one that will not rely on the HTTP_REFERRER tag).
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB® Forum Software © phpBB Group