- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Receiving the submit request twice
Operating System - HP-UX
1753776
Members
7205
Online
108799
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 07:58 AM
07-22-2003 07:58 AM
Receiving the submit request twice
Hi,
I have a small socket program which receives a request from browser and does lot of processing. If the processing takes longer, by the time I finish with the processing to display the user with the successful message, I encounter the same request again.
My success message is not displayed at the browser and the server program again starts re-processing the same request.
Have you faced such problem before, why the same request appears again and the port and what is the possible remedy?
(The socket is created on a HPUX machine and accessed by the browser with IE 5.5)
I have a small socket program which receives a request from browser and does lot of processing. If the processing takes longer, by the time I finish with the processing to display the user with the successful message, I encounter the same request again.
My success message is not displayed at the browser and the server program again starts re-processing the same request.
Have you faced such problem before, why the same request appears again and the port and what is the possible remedy?
(The socket is created on a HPUX machine and accessed by the browser with IE 5.5)
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 08:35 AM
07-22-2003 08:35 AM
Re: Receiving the submit request twice
The typical way to deal with this is to maintain a cache; the cache should contain the perinent data, a timestamp, and a "count field". Each time a request comes in, the cache is searched first, if a recent "hit" is found, increment the "count field" but do nothing else. If not found, process the request and add the request to the cache, set the timestamp, and set the "count field" to 1.
The "count field" allows you to discard the least used entries as the cache fills up.
The "count field" allows you to discard the least used entries as the cache fills up.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP