Results 1 to 6 of 6
-
03-29-2011, 02:35 PM #1b-707 Guest
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
TYLast edited by b-707; 03-29-2011 at 03:00 PM.
-
03-30-2011, 02:16 PM #2
Administrator
- Join Date
- Mar 2007
- Location
- Prezza Technologies
- Posts
- 225
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
-
04-01-2011, 12:42 PM #3b-707 Guest
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?
-
04-07-2011, 10:42 AM #4
Administrator
- Join Date
- Mar 2007
- Location
- Prezza Technologies
- Posts
- 225
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
-
04-07-2011, 10:50 AM #5b-707 Guest
-
04-07-2011, 11:22 AM #6b-707 Guest
Don't know what's the matter. Now this worked with Access List either.


LinkBack URL
About LinkBacks
Reply With Quote
