Jim
-
2/1/2013 2:46:09 PM
RE:Portaltemplate code executes on 404
That's what I'm saying. The portaltemplate.aspx code is executing even on a request that returns a 404.
I can take my 6.0 code base (which on a 404, portaltemplate.aspx does not execute), upgrade it to 7.0 (fix all the breaking changes) and now the portaltemplate.aspx code executes on 404 return.
The custom code is code we have added to the portaltemplate.aspx page to add various meta, css, js, mobile, etc. Stuff we want added to every page.
I've worked around it by checking if session is null and not accessing it. Basically, it wouldn't be null on a normal page request. But, I don't want to do that if I don't have to.
Thanks,
Jim Garwacki
|