Jump to:

2002 Posts in 1422 Topics by 616 members

Form Questions

SilverStripe Forums » Form Questions » Genericsview Security ID issue

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

Page: 1
Go to End
Author Topic: 812 Views
  • peterk
    Avatar
    Community Member
    3 Posts

    Genericsview Security ID issue Link to this post

    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

  • peterk
    Avatar
    Community Member
    3 Posts

    Re: Genericsview Security ID issue Link to this post

    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 ;)

    812 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.