Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7003429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:04:02+00:00 2026-05-27T21:04:02+00:00

if user posts to server and it begin a processing, sending nothing to user

  • 0

if user posts to server and it begin a processing, sending nothing to user while doing so (it might take a few seconds, eg, sending mail through outside service) and user goes to another site or page before it finishes

is server notified?

when does server give up?

does server try to finish processing?

is there any way to make a function “atomic” in php so that, once begun, it is guaranteed to finish?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:04:03+00:00Added an answer on May 27, 2026 at 9:04 pm

    Default and right behaviour of the user client browser is that it SHOULD notify that page loading has been cancelled – reasons don’t matter – user either pressed back button, stop button, clicked another link or just closed the browser.

    By default in PHP – server receives this notice and quits processing page. This depends on setting of php.ini directive ignore_user_abort – see this PHP documentation page.

    Server behaves upon setting of ignore_user_abort directive. If it is set to false (default), than it just stops processing the request. If it is set true, then it finishes request as it wouldn’t receive any notice about user abort.

    It is not advised to run with ignore_user_abort = true server-wide, so I wouldn’t recommend you to put it directly in php.ini file. But you could put this code at the beginning of the script which is cruical for you to be atomic and to always finish when started:

    ini_set('ignore_user_abort', true);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My website is doing some http posts to another server and I need to
When the user POSTS to my server, should I store the picture in the
Please tell me if I'm understanding correctly. (because I might not be.) User posts
By @user.posts , I can see there is a post with :unfinished status. But
An user posts this article about how to use HttpResponse.Filter to compress large amounts
Every time a user posts something containing < or > in a page in
I am creating a page where people can post articles. When the user posts
A Post belongs_to a User, and a User has_many Posts. A Post also belongs_to
User writes a series of tags (, separated) and posts the form. I build
So I have a User model that :has_many other models like Documents, Videos, Posts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.