Andrew
  •  Andrew
  • 51% (Neutral)
  • Newbie Topic Starter
2017-02-05T18:08:33Z
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
2017-02-06T23:38:03Z
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
Users browsing this topic
    Loading
    • Sign-up for the Hotcakes Community Newsletter: