Disable token check in special event

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
ghasembaghi
User
Posts: 293

Disable token check in special event

Post by ghasembaghi »

hi
I enable token check for my project and all forms
but i want to disable token check in special pages or for special users.
how can i disable it in special event?


arbei
User
Posts: 9356

Post by arbei »

To disable the token checking, you can add your code in Page_Load Server Event of the page.

For example:
$this->CheckToken = FALSE;


Post Reply