Checkbox Forums

Register | Help
Results 1 to 6 of 6
  1. #1
    b-707 Guest

    Default Generation of link for "silent" logging in

    Hello CheckBox friends.
    I need to generate a link which allows to enter a survey without asking for credentials.
    For example I can create something like this:

    http://<server>/CheckBox/Survey.aspx?s=2032e106-3f8e-4730-963d-5425ada2b68f&u=edf080a7-751b-4f32-970c-42aec68dd092

    where s - parameter for survey guid, and u is a user guid.
    The link above works excellent if the user got an invitation with "Link Automatically Logs User In" option checked. But what If I can not send an invitation? What if I want to generate a link for a survey operator who has just to click this link and be logged in automatically? Many of our customers just don't
    have emails. Is there any way to do so?

    P.S. I am using the access list to control access to the survey

    TY
    Last edited by b-707; 03-29-2011 at 03:00 PM.

  2. #2
    ncushing is offline Administrator
    Join Date
    Mar 2007
    Location
    Prezza Technologies
    Posts
    225

    Default

    The link you'll need to generate will be in the same form, though you'll have to determine with the u=[GUID] parameter will be for the user. You can look this up in the ckbx_Credential table of the database or use Checkbox API / Web Services to get the value for a particular user.
    banned

  3. #3
    b-707 Guest

    Default

    Looks like this is exactly what I did - I do have a parameter u=[GUID], but if a survey is restricted by Access List this still asks for credentials. If a survey is restricted by "All Registered users" - it'll work. Weird...no?

  4. #4
    ncushing is offline Administrator
    Join Date
    Mar 2007
    Location
    Prezza Technologies
    Posts
    225

    Default

    If the user guid passed in does not correspond with a user that has permission to take the survey, the login form will still be presented. In your testing, are you using a GUID for a user on the survey's access list?
    banned

  5. #5
    b-707 Guest

    Default

    Quote Originally Posted by ncushing View Post
    If the user guid passed in does not correspond with a user that has permission to take the survey, the login form will still be presented. In your testing, are you using a GUID for a user on the survey's access list?
    Yes, I am. In our routine we automatically add the user to the Access list upon creation of a profile and I can see the user in the Access list on the website itself.

  6. #6
    b-707 Guest

    Default

    Don't know what's the matter. Now this worked with Access List either.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.5.0