Answers.Body: <p>What CMS are you using? If Drupal you could do a webform for your petition which would have all of the basic functionality of Civi petitions plus a lot more configurability. It would definitely let you change this setting.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-16T06:32:40.577Z
Answers.Text: I am using Drupal.  I'll look in to webforms.  I have to admit that I use Drupal for CiviCRM but our organizations main webpage is separate, using TypesetterCMS, so I'm not so deeply familiar with Drupal functionality.  I have thought about combining the two websites, as it would look a lot better, but migrating will be a big project for me.
Answers.UserDisplayName: Andrew Ray
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-15T17:16:27.557Z
Answers.LastActivityDate: 2017-06-15T17:16:27.557Z
Answers.UserDisplayName: Coleman
Answers.Body: <p>The code in question is in <code>&lt;civiroot&gt;/CRM/Campaign/Form/Petition/Signature.php</code>.  You're looking for the <a href="https://github.com/civicrm/civicrm-core/blob/master/CRM/Campaign/Form/Petition/Signature.php#L633" rel="nofollow noreferrer">redirectIfSigned</a> method, most likely.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-16T06:30:21.340Z
Answers.Text: That was the right file. :-)  Actually, line 282-290, which checks for the cookies signed_ and confirmed_ I commented out.  I ended up leaving the two lines about redirectIfSigned alone-- they seem like they don't matter since I have the petition profile set to create duplicate contacts for now.
Answers.UserDisplayName: Andrew Ray
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-15T18:20:40.990Z
Answers.LastActivityDate: 2017-06-15T18:20:40.990Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>Many of our subscribers have informed us of the problem that they sign our petition, and then when other household members go to sign the same petition (e.g. particularly grandparents who don't have their own computer) they are unable to.  I understand that clearing the cookie cache of the browser and thereby killing the sessionid or else opening a private window would be a work-a-round, but I'd like to just not have the problem.
  Can anyone point me to which file in the source code performs this check?  And, as an aside, what do DAO and BAO mean?  How civicrm works is really a mystery to me...</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-15T16:55:00.377Z
Comments.Text: Hi Andrew, and welcome. I haven't worked much with petitions to date, but here is a good starting point on DAO and BAO for CiviCRM: https://docs.civicrm.org/dev/en/master/core/architecture/#business-logic.
Comments.UserDisplayName: Eli Lisseck
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-15T17:12:15.837Z
Comments.Text: Thanks for that information.  Looks like a lot to get my head around!  I guess I could have searched it out.  I don't think it was so well documented the last time I looked for it (possibly 5 years ago).
Comments.UserDisplayName: Andrew Ray
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-15T18:16:20.273Z
Comments.Text: @AndrewRay It wasn't!  And in fact today is an all-day documentation sprint to improve the developer docs, so it's a good day to ask documentation questions in the ~documentation channel on https://chat.civicrm.org.
Comments.UserDisplayName: Jon G - Megaphone Tech
Tags: <civipetiton>
Title: Disable check that a web browser has already signed a petition?
ThreadText: # Disable check that a web browser has already signed a petition?
  
  (Asked by: username_0 on 2017-06-15)
  
  Many of our subscribers have informed us of the problem that they sign our petition, and then when other household members go to sign the same petition (e.g. particularly grandparents who don't have their own computer) they are unable to. I understand that clearing the cookie cache of the browser and thereby killing the sessionid or else opening a private window would be a work-a-round, but I'd like to just not have the problem.
  Can anyone point me to which file in the source code performs this check? And, as an aside, what do DAO and BAO mean? How civicrm works is really a mystery to me...
  
  **Tags:** civipetiton
  
  > **Comments:**
  > **username_1**: Hi username_0, and welcome. I haven't worked much with petitions to date, but here is a good starting point on DAO and BAO for CiviCRM: https://docs.civicrm.org/dev/en/master/core/architecture/#business-logic.  
  > **username_0**: Thanks for that information.  Looks like a lot to get my head around!  I guess I could have searched it out.  I don't think it was so well documented the last time I looked for it (possibly 5 years ago).  
  > **username_2**: @username_0 It wasn't!  And in fact today is an all-day documentation sprint to improve the developer docs, so it's a good day to ask documentation questions in the ~documentation channel on https://chat.civicrm.org.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-06-15. Score: 4 | Accepted answer
  
  The code in question is in `<civiroot>/CRM/Campaign/Form/Petition/Signature.php`. You're looking for the [redirectIfSigned](https://github.com/civicrm/civicrm-core/blob/master/CRM/Campaign/Form/Petition/Signature.php#L633) method, most likely.
  
  > **Comments:**
  > **username_0**: That was the right file. :-)  Actually, line 282-290, which checks for the cookies signed_ and confirmed_ I commented out.  I ended up leaving the two lines about redirectIfSigned alone-- they seem like they don't matter since I have the petition profile set to create duplicate contacts for now.  
  
  ---
  
  ### Answer by username_3 on 2017-06-15. Score: 4
  
  What CMS are you using? If Drupal you could do a webform for your petition which would have all of the basic functionality of Civi petitions plus a lot more configurability. It would definitely let you change this setting.
  
  > **Comments:**
  > **username_0**: I am using Drupal.  I'll look in to webforms.  I have to admit that I use Drupal for CiviCRM but our organizations main webpage is separate, using TypesetterCMS, so I'm not so deeply familiar with Drupal functionality.  I have thought about combining the two websites, as it would look a lot better, but migrating will be a big project for me.  
  
  ---
  
  