Go to previous topic
Go to next topic
Last Post 2/6/2017 7:38 PM by
Will Strohl
HTTP headers exceptions.
1 Replies
1 Subscribed to this topic
1 Subscribed to this forum
Author
Messages
Andrew
New Member
Posts:1
2/5/2017 2:08 PM
System is continuously throwing this exception.
Server cannot modify cookies after HTTP headers have been sent.
System.Web.HttpException (0x80004005): Server cannot modify cookies after HTTP headers have been sent.
at System.Web.HttpResponse.BeforeCookieCollectionChange()
at System.Web.HttpCookieCollection.Add(HttpCookie cookie)
at Hotcakes.Commerce.SessionManager.SetCookieString(String cookieName, String value, Nullable`1 expirationDate, Boolean secure)
HC version 1.10.4 Pro
DNN 07.04.02 (216)
Any thoughts on how to resolve the issue would be appreciated.
Andrew
Will Strohl
Veteran Member
Posts:570
2/6/2017 7:38 PM
Hello Andrew:
That's a common error, but the cause for it could be almost anything. It's not something that occurs in a "clean" install, but only in implemented sites. The nature of it suggests that there's a redirect being executed during an AJAX process that is already occurring. For example, the page is still loading and then a client side event fires that redirects.
Do you have anything in your viewset that could potentially be similar to this cause?
Will Strohl, Upendo Ventures
Hotcakes Cloud
|
Get Support
|
Code Support
Official Cloud & Support provider for Hotcakes
Forums
Merchants
Store Administration (General)