How do the sessions work?

  • Profile Image
    HelpfulHolidays
    Asked on February 15, 2016 at 07:54 AM

    Hello,

     

    I have a form.

    https://form.jotform.com/HelpfulHolidays/homeowner-survey

    its a big form, it has page breaks and save / continue buttons etc.

    It needs to be saved and continued at a later time.

     

     

    Each person who fills out the form is now using a session var i.e

    https://form.jotform.com/HelpfulHolidays/homeowner-survey?session=one@one.com

    or 

    https://form.jotform.com/HelpfulHolidays/homeowner-survey?session=two@two.com

    etc..

     

     

    If I complete the first questioned section of the form with this session for one@one.com and open another browser with same url / session

    https://form.jotform.com/HelpfulHolidays/homeowner-survey?session=one@one.com

    There are no pre filled answers. I guess this is ok since it would have been stored in local storage.

     

     

    However if I use the same browser to try and switch between the two users, I always get the answers of the person who filled out the question last.

     

    so it seems to me that ?session=two@two.com is having no effect or the session data is not keyed using the session var?

     

    or maybe i'm missing something?

     

    thanks.

  • Profile Image
    Welvin
    Answered on February 15, 2016 at 08:52 AM

    The session URL is working, but I think you are getting an issue because of the Autofill which is also enabled in the form. The two creates a conflict in the form. It seems like the Autofill overrides the session data in the form.

    This is our guide for the Session URL (Save and Continue): http://www.jotform.com/help/97-How-to-Save-Forms-to-Continue-Later.

    This is our guide for the Autofill: http://www.jotform.com/help/227-How-to-Enable-Auto-Fill-Feature

    It is recommended to use only one. If you wish to give users the option to continue later using a different browser and device, you have to use the session URL. Otherwise, use the Autofill. Autofill just saves the data in the local browser storage. The session URL is saved to our servers.

    On the other note, Send Post is enabled in your form and you are not redirecting the form to a thank you page that will use this and/or webhook. It's better to disable this in the form if it's not used.

  • Profile Image
    HelpfulHolidays
    Answered on February 15, 2016 at 09:19 AM

    Genius!

    thats fixed it, that your very much 

    :)

  • Profile Image
    Welvin
    Answered on February 15, 2016 at 09:37 AM

    :) You are welcome. Please contact us again if we can help in any way.