APEX and Security


Alistair Laing's Blog

So with APEX 5 on the horizon, I wonder what other neat hidden features will be included in this instalment.

I’ve certainly learnt a lot about APEX security in 4.1.

Did you know that APEX checks the order of the submitted elements?

IT DOES!!! As I’ve recently found out if you have some custom code that moves page items around and then try to submit the page your will get strange “Session State Protection” errors. Having checking the page to see if it was session state protected or read-only etc which they weren’t and not even the page had session state protection. So at application level with the session state enabled you have to ensure your page layout is submitted in the same order it was rendered.

So a little trick I did was to write some custom JavaScript that run on a beforePageSubmit event which would move all my…

View original post 14 more words