Split the form into short steps that each save to the server, warn applicants before their session runs out, and raise the time limit for those pages to an hour or two rather than days.

Half an hour of answers, then an empty form

An applicant spends half an hour on a property manager's rental application: previous addresses, employers, references, pets and vehicles. She checks every answer, presses Submit and lands on an empty form.

Sometimes an error appears instead, saying the session has expired or the form is no longer valid. Either way, the answers are gone.

Some applicants start again. Others phone the office, annoyed, and a few simply apply for a different unit elsewhere.

How the server holds a visitor's place

When a visitor opens a form, the server usually starts a session: a small record, matched to the visitor by a cookie, that holds their place while they move through the site.

A session ends after a period without activity. On many servers the default is 1,440 seconds, about 24 minutes, and expired sessions are cleared on the server's own schedule.

Typing does not count as activity. The server hears from the visitor only when a page is requested or a form is sent, so half an hour of careful typing looks to it like half an hour of silence.

Why the submission is refused

Many forms carry a hidden security code tied to the session, which stops other sites from sending forged submissions. Once the session has ended, the code no longer matches, and the form system rejects what arrives.

Multi-page forms often keep earlier pages' answers in the session too, so those vanish at the same moment. The signs that time is to blame are consistent:

On shared hosting, sessions are sometimes kept in a folder that other sites' settings also clear, so the real limit can be shorter than your own setting suggests.

Splitting a long form into steps

Break the form into steps of a few minutes each: personal details, history, references, documents. Each step's Next button sends its answers to the server, which stores them and starts the clock again.

Show where the applicant is, such as step two of five, and list at the top what they will need: phone numbers for references, previous addresses, employment dates and any documents to upload.

An applicant who gathers those first finishes sooner and is far less likely to stall halfway through a step.

Saving progress

Store each completed step against an application record on the server, not only in the session. If the session lapses, the applicant loses one step at most.

Offer a way back: an email with a link that reopens the application at the next unfinished step. An applicant can then stop to find a document and return the next day.

Drafts are personal information you now hold, so protect them with a secure connection, keep them only on your server and delete unfinished ones after a set period.

A warning before time runs out

A small script on the page can count the minutes since the last contact with the server. A few minutes before the limit, it shows a message with a button to keep working.

Pressing the button sends a brief request that resets the session's clock without leaving the page. Some forms do this automatically for as long as the visitor keeps typing.

Test it by leaving a form idle until the warning appears, pressing the button, and then sending the form as normal.

Raising the limit, within reason

The session limit can be raised for the application pages to an hour or two. That covers a careful applicant without leaving sessions open for days.

Very long sessions carry risks of their own. On a shared computer, the next person can open a half-finished application, and logged-in areas stay open long after their user has gone.

Your developer or host can set the limit and give your site's sessions a folder of their own, so other sites' settings stop clearing them.

A worked example

A welding school in Port Alberni runs full-time and evening programs, and applicants apply online: personal details, education, work history, two references, a short statement on why they want to weld, and an uploaded transcript.

Several applicants phoned to say the form had swallowed their application. The office manager tried it herself, finished in twelve minutes and saw nothing wrong.

The developer found a 24-minute session limit and a security code that expired with it. The written statement took applicants longest, and the upload came last, often after the limit had passed.

The form became five steps, each saved to the server, with a list at the start of what to have ready. The application pages allow two hours, with a warning ten minutes before the time runs out.

Unfinished applications are deleted after thirty days, and each applicant receives an email with a link back to the step where they stopped.

An applicant who breaks off halfway to find a transcript can return the next evening and carry on from there.

The counter-case

Short forms are a different matter. A contact form or a quote request takes a few minutes, well inside the usual limit, and steps, drafts and warnings would only add parts to maintain.

For forms like that, a clear message if something fails, with a phone number beside it, is enough.

The line falls roughly where a form takes more than ten minutes or sends people off to fetch something. Past that point, assume someone will outlast the session.

Keeping a slow applicant's answers

  1. Fill in the form slowly and wait half an hour before sending it.
  2. Find the session limit your server actually applies.
  3. Split the form into steps of a few minutes each.
  4. Save each step on the server as it is completed.
  5. Warn applicants before their time runs out.
  6. Raise the limit for the form pages, within reason.
  7. Delete abandoned drafts after a set period.

Step four makes everything else forgiving. Once each step is stored, a lapsed session costs the applicant a single page at most instead of half an hour of answers.

A form can also turn away a careful applicant at the email field, and a website form that rejects real email addresses shows the lenient check that fixes it.


Frequently asked questions

Why does a long form come back empty after Submit?

The server's session, which holds the visitor's place, ended while they were typing. The form's security check then fails, and the system shows a fresh, empty form instead.

How long does a session usually last?

On many servers about 24 minutes without activity, a common default. Typing in a page does not count as activity; only a request to the server does.

Why does the form work when staff test it?

Staff know the questions and type quickly. Applicants stop to find references and documents as they go, and a careful one can easily pass the time limit.

Should we make sessions last all day?

No. Raise the limit for the application pages to an hour or two. Very long sessions leave pages open on shared computers and keep data around longer than needed.

Is it safe to save drafts of applications?

It can be, with a secure connection, drafts stored only on your server and abandoned drafts deleted after a set period. Avoid keeping copies on shared computers.

What should applicants have ready before they start?

Tell them at the top: phone numbers for references, previous addresses, employment dates and any documents to upload. A prepared applicant finishes sooner and stalls less often.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Applicants losing long forms on Submit?

Send us the form's address, and we will fill it in at a careful applicant's pace and suggest where to split it.

Start a Conversation