I wanted to keep track of what page a user is on. As a test I put self._Trace('Page:'&p_page) in the embed before the parent.
The trace worked fine, but then the only time the page header was sent to the browser was on the index page because I call it out in the XHTML.
When I removed to embedded code, everything works normally.
I thought it was the trace that caused the error so I replaced it with a single comment. Compiled and ran and the header is missing again.
Any thought as to why this might be happening or a better place to track what page a session has been served? I thought of Sendfile, but that gets everything and I just want page names.
Thanks,
Chris
------------------------------------------------------------
Here is the procedure in ThisNetWorker -
ThisNetWorker.MakePage PROCEDURE(<STRING p_page>,LONG p_Type=0,LONG p_Special=0,<STRING p_Title>,<String p_Header>,<string p_footer>)
CODE
! Start of "NetTalk Method Executable Code Section"
! [Priority 2500]
!stuff goes here <-- this breaks the headers
! Parent Call
PARENT.MakePage(p_page,p_Type,p_Special,p_Title,p_Header,p_footer)
! [Priority 7500]
! End of "NetTalk Method Executable Code Section"
! Start of "NetTalk Method Routine Section"
! [Priority 5000]
! End of "NetTalk Method Routine Section"
This just makes no sense to me.