Issue Description:
When attempting to preview files from the Centrestack web portal, shared links, or public links on iOS devices or Safari on macOS, users will encounter the error: "Refresh Page? Session has expired."
On iOS device:
Safari on macOS:
This issue is due to enhanced security features in iOS and macOS that block the file preview function.
Temporary Solutions:
. Use an Android device.
. Use Chrome browser on macOS.
Permanent Fix:
If your Centrestack server operates with only one worker node, the following procedure can resolve the issue:
-
Backup Configuration File:
Navigate toC:\Program Files (x86)\Gladinet Cloud Enterprise\management
on the CentreStack server and create a backup of theWeb.config
file. - Modify Web.config:
Open the originalWeb.config
file with Notepad. Find theappSettings
section around line 3:
<appSettings>
<add key="ChartImageHandler" value="storage=memory;deleteAfterServicing=true;"/>
</appSettings>
Add a new key named "GleamTechWeb:CookielessSessionMode" with a value of "Always". The final edited block will look like this:
<appSettings>
<add key="ChartImageHandler" value="storage=memory;deleteAfterServicing=true;"/>
<add key="GleamTechWeb:CookielessSessionMode" value="Always" />
</appSettings>
Scroll down until you find a section called "sessionState" around line 54. It will look something like this:
<sessionState mode="Custom" customProvider="GladSessionState">
<providers>
<add name="GladSessionState" type="GladPageUILib.GladSessionState" />
</providers>
</sessionState>
Change the entire sessionState block for the following:
<sessionState mode="InProc" cookieless="true"></sessionState>
Save web.config -
Restart IIS and Test:
Restart IIS to apply the changes. Then, test the file preview function to ensure the issue is resolved.
Note: Upgrades to the Centrestack server may overwrite your modifiedWeb.config
file. Remember to reapply these changes or restore the modified file after an upgrade.
Comments
0 comments
Please sign in to leave a comment.