NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Stu on August 28, 2012, 11:12:32 PM
-
Hi Bruce,
Just wondering if it's possible, in the WebHandler "MakeErrorPacket" embed, to do the following:
!* Custom Error Page *
if p_ErrorNumber = 404
self.HeaderDetails.ResponseNumber = '404'
self.HeaderDetails.ResponseString = 'Page Not Found'
ReturnValue = self.CreateHeader(self.HeaderDetails) & '<!-- Net:w_ErrorPage -->'
Return ReturnValue
End
The above doesn't work. So that is not possible.
BUT .. Is the idea possible? - to pull in an existing NetWebPage
-
yeah, it's not as simple as that unfortunately Stu. I'll put it on the list for the future though.
cheers
Bruce
-
Thanks Bruce!
Will be really handy to get a look'n'feel going (having the site menu, etc just there).