[Mono-devel-list] BUG# 71133 - Application_OnAcquireRequestState breaks Stylesheet

marcusmonaghan at f2s.com marcusmonaghan at f2s.com
Mon Jan 24 05:25:23 EST 2005


Gonzalo,

I have raised this as a bug (#71133). Can you let me know if you need anything
else?

Can you also let me know whether you received my test case on Mon, 20 Dec 2004?
If not I will re-send it again.

Regards,
Marcus

Quoting marcusmonaghan at f2s.com:

> Try again.
>
> I have rebuilt xsp 1.0.5 with tracing to see if I could identify where the
> issues might be. As you can see if you use the session object in the
> Application_OnAquireRequestState the output differs. I'm unsure what this is
> telling me, but I will try to figure it out.
>
> ====================================================
> Output NOT using session object:
> --------------------------------
>
> xsp
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: /opt/twl/aspnet/GlobalASAXIssue
> Hit Return to stop the server.
> GetFilePath()
> GetFilePath()
> GetFilePath()
> GetKnownRequestHeader(25) -> Cookie
> GetHttpVerbName()
> GetQueryStringRawBytes()
> GetQueryString()
> GetKnownRequestHeader(11) -> Content-Length
> GetKnownRequestHeader(6) -> Transfer-Encoding
> GetPreloadedEntityBody
> SendUnknownResponseHeader (X-Powered-By, Mono)
> SendUnknownResponseHeader (Date, Fri, 7 Jan 2005 23:17:02 GMT)
> HeadersSent() -> False
> SendUnknownResponseHeader (Content-Type, text/html; charset=utf-8)
> HeadersSent() -> False
> SendUnknownResponseHeader (Set-Cookie,
> ASPSESSION=1078C683C7302CF1D8965736E8C9EE; path=/)
> SendUnknownResponseHeader (Content-Length, 307)
> SendResponseFromMemory ()
> CloseConnection()
> CloseConnection()
> GetFilePath()
> GetFilePath()
> GetFilePath()
> GetKnownRequestHeader(25) -> Cookie
> GetHttpVerbName()
> GetKnownRequestHeader(0) -> Cache-Control
> GetKnownRequestHeader(1) -> Connection
> GetKnownRequestHeader(2) -> Date
> GetKnownRequestHeader(3) -> Keep-Alive
> GetKnownRequestHeader(4) -> Pragma
> GetKnownRequestHeader(5) -> Trailer
> GetKnownRequestHeader(6) -> Transfer-Encoding
> GetKnownRequestHeader(7) -> Upgrade
> GetKnownRequestHeader(8) -> Via
> GetKnownRequestHeader(9) -> Warning
> GetKnownRequestHeader(10) -> Allow
> GetKnownRequestHeader(11) -> Content-Length
> GetKnownRequestHeader(12) -> Content-Type
> GetKnownRequestHeader(13) -> Content-Encoding
> GetKnownRequestHeader(14) -> Content-Language
> GetKnownRequestHeader(15) -> Content-Location
> GetKnownRequestHeader(16) -> Content-MD5
> GetKnownRequestHeader(17) -> Content-Range
> GetKnownRequestHeader(18) -> Expires
> GetKnownRequestHeader(19) -> Last-Modified
> GetKnownRequestHeader(20) -> Accept
> GetKnownRequestHeader(21) -> Accept-Charset
> GetKnownRequestHeader(22) -> Accept-Encoding
> GetKnownRequestHeader(23) -> Accept-Language
> GetKnownRequestHeader(24) -> Authorization
> GetKnownRequestHeader(25) -> Cookie
> GetKnownRequestHeader(26) -> Expect
> GetKnownRequestHeader(27) -> From
> GetKnownRequestHeader(28) -> Host
> GetKnownRequestHeader(29) -> If-Match
> GetKnownRequestHeader(30) -> If-Modified-Since
> GetKnownRequestHeader(31) -> If-None-Match
> GetKnownRequestHeader(32) -> If-Range
> GetKnownRequestHeader(33) -> If-Unmodified-Since
> GetKnownRequestHeader(34) -> Max-Forwards
> GetKnownRequestHeader(35) -> Proxy-Authorization
> GetKnownRequestHeader(36) -> Referer
> GetKnownRequestHeader(37) -> Range
> GetKnownRequestHeader(38) -> TE
> GetKnownRequestHeader(39) -> User-Agent
> SendUnknownResponseHeader (Last-Modified, Tue, 07 Dec 2004 15:56:18 GMT)
> SendUnknownResponseHeader (X-Powered-By, Mono)
> SendUnknownResponseHeader (Date, Fri, 7 Jan 2005 23:17:02 GMT)
> HeadersSent() -> False
> SendUnknownResponseHeader (Content-Type, text/css; charset=utf-8)
> SendUnknownResponseHeader (Content-Length, 211)
> SendResponseFromMemory ()
> CloseConnection()
> CloseConnection()
> GetFilePath()
> GetFilePath()
> GetFilePath()
> GetKnownRequestHeader(25) -> Cookie
> GetHttpVerbName()
> GetFilePath()
> GetFilePath()
> GetFilePath()
> GetKnownRequestHeader(25) -> Cookie
> GetHttpVerbName()
> SendUnknownResponseHeader (X-Powered-By, Mono)
> SendUnknownResponseHeader (Date, Fri, 7 Jan 2005 23:17:02 GMT)
> HeadersSent() -> False
> SendUnknownResponseHeader (Content-Type, text/html; charset=utf-8)
> SendUnknownResponseHeader (Content-Length, 652)
> SendResponseFromMemory ()
> CloseConnection()
> CloseConnection()
> GetKnownRequestHeader(0) -> Cache-Control
> GetKnownRequestHeader(1) -> Connection
> GetKnownRequestHeader(2) -> Date
> GetKnownRequestHeader(3) -> Keep-Alive
> GetKnownRequestHeader(4) -> Pragma
> GetKnownRequestHeader(5) -> Trailer
> GetKnownRequestHeader(6) -> Transfer-Encoding
> GetKnownRequestHeader(7) -> Upgrade
> GetKnownRequestHeader(8) -> Via
> GetKnownRequestHeader(9) -> Warning
> GetKnownRequestHeader(10) -> Allow
> GetKnownRequestHeader(11) -> Content-Length
> GetKnownRequestHeader(12) -> Content-Type
> GetKnownRequestHeader(13) -> Content-Encoding
> GetKnownRequestHeader(14) -> Content-Language
> GetKnownRequestHeader(15) -> Content-Location
> GetKnownRequestHeader(16) -> Content-MD5
> GetKnownRequestHeader(17) -> Content-Range
> GetKnownRequestHeader(18) -> Expires
> GetKnownRequestHeader(19) -> Last-Modified
> GetKnownRequestHeader(20) -> Accept
> GetKnownRequestHeader(21) -> Accept-Charset
> GetKnownRequestHeader(22) -> Accept-Encoding
> GetKnownRequestHeader(23) -> Accept-Language
> GetKnownRequestHeader(24) -> Authorization
> GetKnownRequestHeader(25) -> Cookie
> GetKnownRequestHeader(26) -> Expect
> GetKnownRequestHeader(27) -> From
> GetKnownRequestHeader(28) -> Host
> GetKnownRequestHeader(29) -> If-Match
> GetKnownRequestHeader(30) -> If-Modified-Since
> GetKnownRequestHeader(31) -> If-None-Match
> GetKnownRequestHeader(32) -> If-Range
> GetKnownRequestHeader(33) -> If-Unmodified-Since
> GetKnownRequestHeader(34) -> Max-Forwards
> GetKnownRequestHeader(35) -> Proxy-Authorization
> GetKnownRequestHeader(36) -> Referer
> GetKnownRequestHeader(37) -> Range
> GetKnownRequestHeader(38) -> TE
> GetKnownRequestHeader(39) -> User-Agent
> SendUnknownResponseHeader (X-Powered-By, Mono)
> SendUnknownResponseHeader (Date, Fri, 7 Jan 2005 23:17:02 GMT)
> HeadersSent() -> False
> SendUnknownResponseHeader (Content-Type, text/html; charset=utf-8)
> SendUnknownResponseHeader (Content-Length, 7)
> SendResponseFromMemory ()
> CloseConnection()
> CloseConnection()
>
> ====================================================
> Output USING session object:
> --------------------------------
>
> xsp
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: /opt/twl/aspnet/GlobalASAXIssue
> Hit Return to stop the server.
> GetFilePath()
> GetFilePath()
> GetFilePath()
> GetKnownRequestHeader(25) -> Cookie
> GetHttpVerbName()
> GetQueryStringRawBytes()
> GetQueryString()
> GetKnownRequestHeader(11) -> Content-Length
> GetKnownRequestHeader(6) -> Transfer-Encoding
> GetPreloadedEntityBody
> SendUnknownResponseHeader (X-Powered-By, Mono)
> SendUnknownResponseHeader (Date, Fri, 7 Jan 2005 23:16:33 GMT)
> HeadersSent() -> False
> SendUnknownResponseHeader (Content-Type, text/html; charset=utf-8)
> HeadersSent() -> False
> SendUnknownResponseHeader (Set-Cookie,
> ASPSESSION=B40A3A249BCB4DE2EBB0F4954A97DB; path=/)
> SendUnknownResponseHeader (Content-Length, 307)
> SendResponseFromMemory ()
> CloseConnection()
> CloseConnection()
> GetFilePath()
> GetFilePath()
> GetFilePath()
> GetKnownRequestHeader(25) -> Cookie
> GetHttpVerbName()
> SendUnknownResponseHeader (X-Powered-By, Mono)
> SendUnknownResponseHeader (Date, Fri, 7 Jan 2005 23:16:33 GMT)
> HeadersSent() -> False
> SendUnknownResponseHeader (Content-Type, text/html; charset=utf-8)
> SendUnknownResponseHeader (Content-Length, 830)
> SendResponseFromMemory ()
> CloseConnection()
> CloseConnection()
> GetFilePath()
> GetFilePath()
> GetFilePath()
> GetKnownRequestHeader(25) -> Cookie
> GetHttpVerbName()
> SendUnknownResponseHeader (X-Powered-By, Mono)
> SendUnknownResponseHeader (Date, Fri, 7 Jan 2005 23:16:33 GMT)
> HeadersSent() -> False
> SendUnknownResponseHeader (Content-Type, text/html; charset=utf-8)
> SendUnknownResponseHeader (Content-Length, 830)
> SendResponseFromMemory ()
> CloseConnection()
> CloseConnection()
>
> As you can see they clearly differ.
>
> Anyone want to point me in any direction?
>
> Regards,
> Marcus
>
>
> > Quoting marcusmonaghan at f2s.com:
> >
> > > I have upgraded mono to the latest release and I'm still having the same
> > > issue.
> > > I can't believe I'm the only person using the
> > > Application_OnAcquireRequestState
> > > method and Stylesheets.
> > >
> > > I now have Mono 1.1.3 and XSP 1.0.5.
> > >
> > > Regards,
> > > Marcus
> > >
> > > > I am in the process of trying to port my very simple website to Mono
> > > > but I have come across an issue.
> > > >
> > > > If I place any code that uses the Session object into
> > > > Application_OnAcquireRequestState in the Global.asax the stylesheet
> > > > associated with a page does not get processed.
> > > >
> > > > If I declare the stub for the procedure with no code it works fine.
> > > > If I publish the same site to an IIS server it works fine.
> > > > However, Cassini does not work either.
> > > >
> > > > OS: Suse 9.1 and WXP Pro SP2.
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > >
> >
> >
> >
> >
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>






More information about the Mono-devel-list mailing list