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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

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

Genericsview Security ID issue


Go to End


2 Posts   1677 Views

Avatar
peterk

Community Member, 3 Posts

7 January 2011 at 10:26am

Hi,

I've got a little problem with the genericviewsmodule. The thing is that I'm trying to make a link to a explicit search for, let's say a categorie.

When using the search from genericviews i get something like this:

http://test.****-****.de/personal-management/arbeitnehmer/stellenangebote/PersonalJobs/SearchForm?Titel=&Ort=Hamburg&Kategorie=&SecurityID=b2f38e6df8cac58d20c7bdc57d0f3dd7aa982ba1&action_search=Suche

As you may can see, my problem is the generated SecurityID, because it seems to be different on every PC (or session or whatever ... ). So my question is; How do i generate this security ID or is there any way to turn it off? Because I don't want to edit the entrys from the view ...

Thank you very much in advance!

Peter

Avatar
peterk

Community Member, 3 Posts

8 January 2011 at 2:22am

Okay, I found out that it is quite simple:

Just added $this->SecurityID to my php-Code and now everything works like a charm :)

❤ silverstripe ;)