Following some work on SharePoint, users were encountering the error “Sorry, something went wrong. The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)”
Searching the web uncovered suggestions to change the claims token timeout value, reducing it from its default value of 24 hours, to something much lower, like 1 hour. You can check the current value, shown in minutes, using the command below.
stsadm.exe -o getproperty -propertyname token-timeout
In my case the value had already been reduced to 1 hour, so I decided to set it back to the default of 24 hours using the command below. This resolved the error.
stsadm.exe -o setproperty -propertyname token-timeout -propertyvalue 1440