Checkbox Forums

Register | Help
Results 1 to 4 of 4

Thread: Automatic Login

  1. #1
    WEC Guest

    Default Automatic Login

    I am using Checkbox V4.6.4.7

    This question pertains to automatically logging a user in upon invitation.

    I have 3 surveys set up as with permissions - 'all registered users'. Survey 1 will eventually redirect the user to either survey 2 or survey 3, and I was wondering if there was a way to redirect them to that survey and having them automatically logged into that survey as well (such as the invitation option 'automatically log user in'.

    I need the ability to track the respondent, so I can't make those surveys public. Obviously when I make them 'all registered users' or 'access list', the system will naturally prompt for a username/password, which I wont to avoid since they already logged in via the original survey!

    Thanks

  2. #2
    pwiesner is offline Administrator
    Join Date
    Mar 2007
    Posts
    385

    Default

    You can use the pipe feature to construct a url that automatically logs users in. You will want to add "&u=@@GUID" to the end of the redirect url. A user's GUID uniquely identifies them and can be used to authenticate users. For example:

    I am not sure why, but the forum software keeps editing the example url. It should be in the format http://localhost/Survey.aspx?s=<Survey Guid>&u=@@GUID
    Last edited by pwiesner; 04-09-2010 at 09:57 AM.

  3. #3
    WEC Guest

    Default

    Ah, the GUID is what I needed; I knew there was some Identifier I could pipe in their but was picking the wrong ones. Thanks!

  4. #4
    pwiesner is offline Administrator
    Join Date
    Mar 2007
    Posts
    385

    Default

    The name of the query parameter matters too, it has to be u. The pipe is located under User Attributes -> GUID.

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