|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
I'm running a 3rd-party uploading program. Works fine in IE, but not Firefox. The author of it said it has something to do with sessionID not being passed on by Firefox, and Adobe only supporting IE, etc, etc, etc. He gave me some extra code that has to be added to a template, but I'm not sure what template. He said: You should put this code to the top of file processing script. Here is code to restore session: //trying restore browser cookie if(isset($_POST['MultiPowUpload_browserCookie'])) { $cookies = split(";", $_POST['MultiPowUpload_browserCookie']); foreach($cookies as $value) { $namevalcookies = split("=", $value); $browsercookie[trim($namevalcookies[0])] = trim($namevalcookies[1]); } $_COOKIE = $browsercookie; } //restore session if possible if(isset($browsercookie) && isset($browsercookie['PHPSESSID'])) { session_id($browsercookie['PHPSESSID']); session_start(); } -- anyone know where this code would go to restore a Firefox session when attaching files? __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
BB Code "Code" wrap should not execute the code inside it. | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 12-19-2009 10:00 PM |
BB Code BB Code for linking to blog posts and CMS articles | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 11-03-2009 06:00 AM |
BB Code BB Code for linking to blog posts and CMS articles | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 11-03-2009 04:10 AM |
BB Code BB Code for linking to blog posts and CMS articles | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 11-03-2009 02:50 AM |
BB Code BB Code for linking to blog posts and CMS articles | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 11-03-2009 02:30 AM |