Invalid session/cache displayed

I am have a webserver and it is providing cross session content ( same URL but different web applications within the URL) sporadically

Details: Windows 2008 R2, IIS7, Behind Load Balancer that hosts the SSL

The user logs in, the request appears with an HTML 302 status that has the correct URL listed but above this message there is invalid session content (like from other web page submissions but from different web application entirely).

Where is the redirect happening or how do I resolve where this redirect comes into play?  In IIS there are no site redirects applied, also this does not happen each time a request is made but periodically.

 error.png
YikesReallyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan McFaddenSystems EngineerCommented:
If you look at the error message, the 302 is telling you that the content has HTTP Cache Controls enabled as "Private" meaning that the content can only be cached by the client making the http request.

I would recommend that you check the browser settings for the client(s) having the issue.  I would adjust the size of their local browser cache to be much smaller... in the realm of 200-250MB.

If you have control of the other web application, I would investigate why the Cache-Control headers are configured in this manner and see if you can change the setting to a more optimized setting.

Adding an time expiration to the header would also help solve the issue.

reference link:  https://www.iis.net/configreference/system.webserver/staticcontent/clientcache

content caching reference:  https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching?hl=en

Dan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.