Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:onlinecam [2008/03/04 12:51]
ravithb
dev:onlinecam [2009/07/06 20:36] (current)
Line 12: Line 12:
  
 The function shn_online_cam_get_image_file_name($image_id) can be used to obtain the file name of the uploaded image, by passing the image_id given as mentioned above. The function shn_online_cam_get_image_file_name($image_id) can be used to obtain the file name of the uploaded image, by passing the image_id given as mentioned above.
 +
 +==== Known Issues ====
 +
 +This requires Adobe Flash Player 9 or above to be installed.
 +
 +This has a drawback when load balancing is implemented, since the file is saved to www/tmp folder. This becomes a problem if one server handles the update and another handles the form post request because the second server will not see the uploaded image, which is in the first server. The solution for this problem is to share the www/tmp among all  load balancing servers.
 +
 +If multiple forms use the same image_id, there would be a problem where uploaded images will override each other for different clients. To avoid this you may need to generate a unique image id based on the session key, current time and a random number. This will avoid overwriting of images by different clients.
 +
 +

Navigation
QR Code
QR Code dev:onlinecam (generated for current page)