Appnitro Software Forums » MachForm

Session Expires when submitting form

(12 posts)
  • Started 7 months ago by stevenbarnes
  • Latest reply from Pangdene

  1. stevenbarnes
    Member

    On my boss's IE browser both at home and in the office, everytime he completes the form he gets a notice telling him his session has expired and to try again.

    Thing is I was watching him do it and he did not click back or anything. He opened his browser, went to form and filled it out then gave him the error.

    Please help because i love this form and would really love to continue using it.

    Posted 7 months ago #
  2. What version of IE did you use?

    You said "everytime he completes the form" -- so the submission went through the database? or not?

    Is there any chance I could try your form? Let me know the URL please. Mail to: customer.service [at] appnitro.com or just post it here.

    Posted 6 months ago #
  3. We are having the same error here with a client and on one of our computers. The session expires every time we hit submit (no data is being submitted). IE 7.0.7530
    This is not great, because clients fill out a lot and then all is lost. I sent an email with the form's address.

    Posted 6 months ago #
  4. walags
    Member

    think the problem is with the reCaptch

    i took that off the form and it worked again. maybe reCaptch changed something

    Posted 6 months ago #
  5. No, no reCAPTCHA activated. Never was ...

    Posted 6 months ago #
  6. Thank you for all your report.

    I've found out that this is the same bug as described here recently:
    http://www.appnitro.com/forums/topic/windows-vista-users-help-testing-this-please?replies=14#post-2020

    The solution:
    Edit embed.php and view.php. On line 10 you'll find this code:

    session_start();

    Right above that line, insert this code:

    header("p3p: CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");

    That should solve the session expired issue with IE.

    Posted 6 months ago #
  7. stevenbarnes
    Member

    thats works a treat.. thanks

    Posted 6 months ago #
  8. Pangdene
    Member

    I haven't tried IE yet, but I get this problem in Firefox3 and Camino.
    I've tried the above suggestion from Yuniar, but the problem persists; I've tried quitting the browser and re-trying after making the changes, but no joy!

    Just to clarify, I'm not using any CAPTCHA, but I am using review option.

    Help!

    Thanks
    P :)

    EDIT: works okay in Safari, but also fails in IE7.. :-(

    Posted 6 months ago #
  9. Pangdene -- so you have modified both embed.php and view.php ?

    If so, can I see your form? Let me know the URL please.
    You can post it here or mail me (yuniar [at] appnitro.com)

    Also, check your IE7 setting.
    Go to: Tools -> Internet Options -> Privacy

    What's your setting there? The default is "Medium"

    Posted 6 months ago #
  10. Pangdene
    Member

    Hi Yuniar,

    yes, modified both files.
    I will mail you details shortly with URL.

    I can't check IE7 right now, but it fails in IE6 and it has privacy settings at medium.

    Thanks,
    P :)

    Posted 6 months ago #
  11. Just a note, Pangdene problem has been solved.

    As a note for others, if you are using the "Advanced Form Code", you'll need to insert the code below:

    <?php session_start(); ?>

    Put the code above at the beginning of your PHP file where you embed the forms.
    The "Standard Form Code" doesn't need this addition.

    Posted 6 months ago #
  12. Pangdene
    Member

    I just wanted to thank Yuniar publicly for helping me!

    :)

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.