[Mono-bugs] [Bug 404083] Problems with Cache (headers) in mono ASP.NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 26 10:37:55 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=404083

User informatique.internet at fiducial.fr added comment
https://bugzilla.novell.com/show_bug.cgi?id=404083#c3





--- Comment #3 from Hubert FONGARNAND <informatique.internet at fiducial.fr>  2008-06-26 08:37:54 MDT ---
Robert,

in fact when there is no Response.Expires or cache parameter, the header is set
to : Cache-Control: private

but when you only put Response.Expires=xxx

the header is set to Cache-Control: no-cache and Expires: -1  

please test this : 

protected override void OnLoad (EventArgs e)
                {
                        base.OnLoad (e);
                        Response.Clear();
                        Response.Expires=120;

Response.WriteFile("/home/hubert/Documents/images/system2.png");
                        Response.End();

                }


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list