I hade the same problem when upgrading to 5.09
I had to recompile my project because I was including a cspPage that made the user validation and stoped working.
Nuno
kevin furze wrote:
can anyone explain under what circumstances the <CSP:INCLUDE> command stops working please.
I have NOT changed the position of the directories or anything like that, all I have done tonight is upgrade from 5.0.5 to 5.0.9
do I have to compile anything, turn on anything ?
kevin
example (and watch the line wraps - I have cut and pasted and in my code, it looked fine)
in my page I have the following code:
<title>JIT - Maintain Dealer</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <csp:include page='Include/tabHeader.inc'> <script language="JavaScript1.2">
when I look in the INT version of the compiled code, I see the following:
Write "<meta http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-1"">" Write !
Do zInclude^csp.maintain.dealer.1("Include/tabHeader.inc")
Write !,!,"<script language=""JavaScript1.2"">"
when I pop down to the zInclude command, I see this.
zInclude(url) public { Set %CSPsc=$$cspInclude^%cspServer(url) If ('%CSPsc) { Set %request.Data("Error:IncludePage",1)=url ZTrap "THROW" } Kill %CSPsc }
BUT . . . when I look at the generated code, I see the following:
<title>JIT - Maintain Dealer</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript1.2">
the actual include code should be 10+ lines of javascript code, and should be appearing in between the 2nd and 3rd line.
any suggestions please
