473,788 Members | 2,646 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Uploaded images displayed after a few minutes

MZ
Hello!

I have created a script for uploading photographs with size less than 50 KB.
Everything works fine, but the images are viewable after a not so long time, but
not at once. I would like to have the photographs available just after
successful upload. Can you tell me, maybe there is some way to do that? Is it a
my hosting server fault?

Thank you in advance
Marcin from Poland

Dec 30 '07 #1
1 1172
On 30 Dec, 19:52, "MZ" <marcinzmyslow. ..@poczta.onet. plwrote:
Hello!

I have created a script for uploading photographs with size less than 50 KB.
Everything works fine, but the images are viewable after a not so long time, but
not at once. I would like to have the photographs available just after
successful upload. Can you tell me, maybe there is some way to do that? Is it a
my hosting server fault?
Are you putting the image at a URL your browser has recently requested
- i.e. the most likely explanation is that the server is making the
file available immediately, but your browser has a file in its cache
with caching instructions.

Try iehttpheaders for MSIE or TamperData for Firefox to find out if
that's really what's going on.

Of course your ISP could be running some non-realtime filesystem
clustering solution (like a crontab'ed rsync) but you pay them money
for support.

C.

Dec 30 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
9118
by: Dino | last post by:
dear all, i've created an application for a customer where the customer can upload ..csv-files into a specified ftp-directory. on the server, a php-script, triggered by a cronjob, reads all the data, imports it into a mySQL database and deletes the .csv-file after the import. so far, so good. but in some cases the cronjobs starts running when the file is not completely
3
7415
by: John Ramsden | last post by:
In a monitoring app I have written, the message summary screen refreshes itself automatically every couple of minutes via the line <meta http-equiv="Refresh" content="180">. The screen mostly comprises a table of single-line messages, and next to each a small status image (red for error, yellow for warning, etc). Normally in Internet Explorer these images display fine. But occasionally, after a refresh, the "missing image" cross and
4
8384
by: Kevin Myers | last post by:
Hello, Please forgive my reposting of this note with hopefully a more relevant subject line. On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to display the contents of a TIFF image file. According to the very limited documentation that I have been able to locate so far, all I should need to do is to drop the Image Edit Control onto the form in design mode, set the control's Image property to...
0
2299
by: Satish Appasani | last post by:
Hi: I have a ASP.NET form with Web layout which I've achieved using panels. In one of the tab I have a File control to upload Images. When I put a file in the file control and move to another tab, I am loosing the file in the file control. So, I am putting the file in a Session: Session("PhotoFile") = filePhoto.PostedFile When the user comes back to the tab with the File upload, an Image control
5
2735
by: IkBenHet | last post by:
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language="VB" Debug="true" %>
0
1225
by: SBelzile | last post by:
Hi, We are working on a vb.net WinForms project based on the Composite UI Application Block (VS2005). I have a strange problem. At first, I thought 10 minutes would be fairly enough for me to solve it but I've spent almost 6 hours on it today and still can't figure out what's wrong. Using the CAB, I have built a control that intercepts messages coming from other CAB's SmartParts controls and display them into a treeview control. The...
8
2829
by: ctiggerf | last post by:
I was hopeing someone could help me out here. Been stumped on this one all day. This function 1. Checks uploaded files. 2. Creates two resized images from each (a full size, and a thumbnail). 3. Returns an array with a bool (false if the upload failed), and an error message.
4
3660
by: Andrea Scharfe | last post by:
Hi there, I am writing a PHP script which generates some charts using gnuplot. This generates quite a large number of temporary image files. My problem is that I do not know how to delete these images after they have been loaded and are already displayed at the website. Everything I have tried so far resulted in that the images were not displayed at all. I already tried something like:
3
1489
by: rullbandspelare | last post by:
I have a directory that contains images wich are displayed with this code: (All it does, is going through all the images in the directory and displays them). <?php function file_type($file){ $path_chunks = explode("/", $file); $thefile = $path_chunks; $dotpos = strrpos($thefile, "."); return strtolower(substr($thefile, $dotpos + 1));
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9499
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4076
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2898
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.