-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UrlRewrite: Server cannot append header after HTTP headers have been sent #219
Comments
Additional Logs of the live server (DNN 09.03.02, Hotcakes 03.02.00). Usually a Hotcakes exception followed by a DNN exception: 10/22/2019 12:28:43 Sierzega 10/22/2019 12:28:44 Sierzega |
Thank you for reporting this. This is a duplicate issue, though. :) Please see issue #112 |
I just tested it on 03.02.02, the issues still exists.
Can we reopen one of the two issues? Current log: 11/07/2019 10:17:15 |
Oh, I see. You're right. The error was only fixed during checkout. Sorry about that. :) |
Describe the bug
Directly related to #112
When the alternative PageUrl of a product (in this case the uppercase url "GR33L") is requested, the exception "Server cannot modify cookies after HTTP headers have been sent." is thrown once Hotcakes.
Software Versions
** PR #112 : CI: Server cannot append header after HTTP headers have been sent #196 and #216 [[Order.VATRegistrationNumber]] independent of user.TaxExempt #218 implemented **
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Do a clean 301, set whatever cookies necessary
Actual behavior
Does a 301, but throws exception and doesn't modify cookies (most likely)
Error log
10/22/2019 13:15:52
Hotcakes Exception
Sierzega
Severity Error AssemblyVersion 3.2.1 PortalID 0 PortalName Sierzega UserID
Severity:Error
AssemblyVersion:3.2.1
PortalID:0
PortalName:Sierzega
UserID:
UserName:
ActiveTabID:92
ActiveTabName:Product Viewer
RawURL:/en-us/Products/Product-Viewer/GR33L
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:593cde48-18bd-49da-830b-87936522039b
InnerException:Server cannot modify cookies after HTTP headers have been sent.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:System.Web.HttpResponse.BeforeCookieCollectionChange
StackTrace:
Message:
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)
Source:
The text was updated successfully, but these errors were encountered: