This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Your session has been expired. Please start again


  1. tigertim22
    Member

    Help! I've created 3 forms and all were working fine, but now all of a sudden when I try to submit any of them I get the error 'Your session has been expired. Please start again'.

    An example of the form can be found here: http://amex.internationalrailagent.com/data/contact.php

    The form is applied using the Advanced for code.

    Any help find out why and what I need to do to fix it would be greatly appreciated, it's driving me mad!

    Posted 13 years ago #
  2. yuniar

    Try this, edit your "contact.php" file, at the beginning of the file (line 1) add this code:

    <?php session_start(); ?>

    that should fix the session error.

    Make sure to add that code to the other pages where you embed the form.


    MachForm Founder

    Posted 13 years ago #
  3. tigertim22
    Member

    Perfect!!! fixed, thanks very much

    Posted 13 years ago #
  4. clctv
    Member

    Thanks Yuniar, this helped me also!

    I'm not sure what forms I did as "advanced." If I put the <?php session_start(); ?> coded on a page that is not Advanced code, will it mess anything up? Thanks

    Posted 12 years ago #
  5. yuniar

    On most cases, I believe the above code won't mess with your existing code. Unless you are using the same code already within the same page.


    MachForm Founder

    Posted 12 years ago #
  6. mistiwhite
    Member

    I have a client who is telling me the same thing:

    "UGH!! I am so sorry, but I tried the questionairre 2 times and sped typed and both times it said my session expired….."

    site: www.mistiwhitephotography.com/family/
    password - familyfun

    It seems to be allowing me to hang out as long as I want in Firefox.

    Posted 11 years ago #
  7. yuniar

    Your site seems to be redirected here:
    http://mistiwhitephotography.com/family/

    while the form itself is located at
    http://www.mistywhitephotography.com/machform/machform/embed.php?id=xxxxx

    note the "www" difference.
    You need to update your form embed code and remove the "www" part.


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply