Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

FROM method="GET" - recomendations


3 Posts   438 Views


26 August 2012 at 10:05pm Community Member, 233 Posts

Hi all,

I have a search form on a site, and i'm passing the form through to a certian url using:


All good, but I want the search criteria to be in the URL, so that if the user book marks, 'likes' or links to the results, it all works. So, I use

However, the URL now includes "SecurityID=6f9fd5058086c374bd02bf7f642a6c63aa5b39f5", which I don't particularly want in the URL.

Is there any easy way to just pass through form info, but not the security ID?


26 August 2012 at 10:37pm Forum Moderator, 474 Posts

Also call $form->disableSecurityToken();


26 August 2012 at 10:41pm Community Member, 233 Posts

perfect - thanks!