473,394 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Nebi-Question: Database-Cronjob or Threading-Solution

Hi,

in a webapplication, after a submit a page is called which is processing
images uploaded by the user. currently after submit a status bar will be
visible (the page for the image processing runs in an iframe) and after
image processing the page makes an redirect. if there are many images, the
processing needs some time and if the user is closing the browser the
processing will be interrupted.

now i would like to source out the image-processing to make it
"barrier-free". my idea was to write after submit the sessionId (foldername
with images = sessionId) to a database and read the database with a cronjob
to process the images.
i have heard from threading and that it should be possible to store a thread
in memory even if the user is closing the browser.
is it true, that a method-call can be saved in a thread, or would the
database-cronjob-solution be better?

thank you very much.

Regards,
Christian
Oct 19 '08 #1
0 745

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

Similar topics

2
by: Nikola Skoric | last post by:
Hello, I'm having trouble uploading files via post method. I'm using this code for the form: <form enctype="multipart/form-data" method="POST" action="run_dodaj_alb.php"> <p>Naziv...
2
by: puzo | last post by:
is it possible to test my php files from dreamweaver? i hgave installed apache server and php4.0. i can test my pages in explorer but is it possible to set dreamweaver to open php page when i...
10
by: Nikola Skoric | last post by:
Hello there, Lets say I have something like this in my Mother Of All Threads: Thread thread1 = new Thread(new ThreadStart(this.run)); thread1.Start(); //some unimportant code...
5
by: Nikola Skoric | last post by:
Lets say I have a situation like this: public class a {         public a () {                 //...         }          public a (int i) {                 //...         } }
6
by: puzo | last post by:
is it possible to convert C# application so i can run it on the computer where there is no framework?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.