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 8911765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:01:37+00:00 2026-06-15T04:01:37+00:00

We are facing a strange problem and we don’t know how to proceed with

  • 0

We are facing a strange problem and we don’t know how to proceed with it.

The problem is :

We have an App that creates report and when user submits it, it gets submitted on the server. We get acknowledgement as json response to know whether the operation is successful or not.

But for the 2 scenarios such as :

  1. User submits report. Before the response is received on the device, the network gets disconnected.
  2. User submits report and the response is not received within 120 sec and hence it times-out.

(Note : We are already putting timeout and WiFi check in the code.)

In both the cases, since the request has reached the server, the report gets submitted on server. Since the client does not receive any response, an error message is shown at client side. Now the user tries to submit the report again, which is incorrect and causes report duplication.

How can we handle this scenario?

  • 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-06-15T04:01:38+00:00Added an answer on June 15, 2026 at 4:01 am

    Generate a unique submit ID when the user submits. If it fails, submit again using the same ID. The server will check if the ID exists and report back that the report already exists.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm facing a kind of strange problem and don't know in which direction to
I'm facing a really strange problem that has me smoked. I have a fairly
I am facing strange problem dont know what is responsible for this. I have
since today im facing a strange problem. When i start my app in my
I am facing a strange problem and have no idea how to fix this
I have been facing a strange problem while returning dataset through WCF service (WSHttpBinding).
I'm facing this strange problem. I'm trying to read a file that is located
I'm currently facing a strange problem in PHP. I have two scripts, index.php which
Hi I am facing a strange problem that I am testing a BlackberryMessanger sample
Well, I am facing a strange problem. I have developed a sample MFC ribbon

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.