sarkle
Joined: 09 Jun 2008
Posts: 11
|
| Posted: Wed Aug 20, 2008 4:31 pm Post subject: Export issue in IE over HTTPS |
|
|
I thought I would start a new topic with my solution to this problem (rather than post to previous ones with a similar topic).
The issue is when attempting to download a file (i.e., a CSV export from the Contacts screen) using Internet Explorer (I had this issue with IE 6 and IE 7) over an HTTPS connection you would get a file not found error (see attachment). I found this issue happened in both vTiger 5.0.3 and 5.0.4. The problem does not occur using Firefox.
The issue has to due with the way IE handles caching over HTTPS (there are tonnes of articles on this if you do a google search).
My fix was to change the caching option.
There are two ways, the first is at the server level, changing your php.ini file. Set the option: session.cache_limiter to a value other than nocache (private or public). There are many twists on what options you could include with this as well as many pros and cons to each choice. I suggest reading up on this option and deciding what's best for your implementation.
The second, and the one I choose, was to set the variable within vTiger itself. This method leaves your apache alone (not editing the php.ini). In the file index.php within the root of your site directory, add the following line above session_start(); call:
session_cache_limiter('private'); // or to public, your discretion)
I set mine to :
session_cache_limiter('private, must-revalidate');
Again, I suggest reading up more on this and adapting what is best for you situation. I'm sure there are even better ways to handle this (and I would like to here of them please), but for now this is a quick and dirty fix for a potentially huge problem. |
|