Hi,
Using the source generated by the example app and my app, something is triggering an extra IF in my app,
This line is not generated in the example
If (p_web.Site.LoginRequired = false or p_web.GetSessionLoggedIn() = true)
points to this line in the template
p_web.Trace('zaq==: 1=(%SecwinCtrlsDisplayProcedure)2=(%nLoginRqd)3=(%nLevelRqdUp)4=(%nLevelRqd)5=(%SecwinAccessCtrlsGroupN)6=(%TMPPutEndBecauseIf)')
#insert(%HandleLoginCodeLevel2,%SecwinCtrlsDisplayProcedure,%nLoginRqd,0,%nLevelRqdUp,%nLevelRqd,%SecwinAccessCtrlsGroupN,'',''),%TMPPutEndBecauseIf
p_web.Trace('zaq-2')
Below the differences, not sure, but seems that this could be the issue.
Trying to figure out what is causing it or how the security logic is different between the 2 apps
Will post if I find something
thanks for your help so far
Johan
example app
p_web.Trace('zaq-1')
p_web.Trace('AA-p_web.Site.LoginRequired:' & p_web.Site.LoginRequired)
p_web.Trace('zaq==: 1=(AliasBrowseControl)2=(0)3=()4=()5=()6=(0)')
p_web.Trace('zaq-2')
loc:ColumnResizeable = p_web.site.BrowseColumnsResizeable
packet.append(p_web.CreateBrowseHeader(loc:vordernumber,'1','AliasBrowseControl',p_web.Translate('Name',(Net:HtmlOk*0)+(Net:UnsafeHtmlOk*0)),'Click here to sort by Name',,,p_web.Combine(),1, loc:columns+1 ,,,0,loc:Sorting,'String','nt-left',loc:LayoutMethod,' style=" width:'&clip('auto')&';" title="'&p_web.jsok('Click here to sort by Name')&'" data-colname="'&clip('ALI:Name')&'"',loc:CellStarted,0 + 1, loc:ColumnResizeable))
my app
p_web.Trace('zaq-1')
p_web.Trace('AA-p_web.Site.LoginRequired:' & p_web.Site.LoginRequired)
p_web.Trace('zaq==: 1=(test_client_list)2=(-1)3=()4=()5=()6=(0)')
If (p_web.Site.LoginRequired = false or p_web.GetSessionLoggedIn() = true)
p_web.Trace('zaq-2')
loc:ColumnResizeable = p_web.site.BrowseColumnsResizeable
packet.append(p_web.CreateBrowseHeader(loc:vordernumber,'1','test_client_list',p_web.Translate('client nr',(Net:HtmlOk*0)+(Net:UnsafeHtmlOk*0)),'Click here to sort by client nr',,,p_web.Combine(),1, loc:columns+1 ,,,0,loc:Sorting,'String',,loc:LayoutMethod,' title="'&p_web.jsok('Click here to sort by client nr')&'" data-colname="'&clip('cli:client_nr')&'"',loc:CellStarted,0 + 1, loc:ColumnResizeable))
the template code