Session expired! Please refresh the page and try again.

Last post 02-14-2011, 1:10 AM by Cassiopeia. 11 replies.
Sort Posts: Previous Next
  •  01-05-2011, 5:00 AM 65593

    Session expired! Please refresh the page and try again.

    hi i am working on a website (http://www.pentagon.ae/elips/) hosted on rackspace cloud. i changed upload_max_filesize 2MB to 128 for that i use .htaccess and put the following content

    php_value post_max_size 128M
    php_value upload_max_filesize 128M
    php_value max_execution_time 6000000
    php_value max_input_time 6000000

    after that i am able to upload large file using cute editor for php file uploader from ie7
     
    But it is not uploading from firefox 3.0.19 
    i am getting following error during any file upload

    Server side exception, failed to upload medium_10.jpg

    Debug Information:
    UploadControl : Session expired! Please refresh the page and try again.
     
     
    Can any body tell me why it is not uploading in Firefox and what will be the solution for that.
     
     
     
    Thanks
     
     
    Filed under:
  •  01-05-2011, 10:37 AM 65596 in reply to 65593

    Re: Session expired! Please refresh the page and try again.

    Dear mamunbdctg,
     
    I have sent email to you, I do not have write permission and cannot upload file to your site.
     
    Thank you for asking
  •  01-06-2011, 12:01 AM 65606 in reply to 65596

    Re: Session expired! Please refresh the page and try again.

    hi, thanks for reply.

    that htaccess file is in http://www.pentagon.ae/elips/  folder. it is not showing for me also but file is there and the file content is as follwos 
    php_value post_max_size 128M
    php_value upload_max_filesize 128M
    php_value max_execution_time 6000000
    php_value max_input_time 6000000
    u can create a new .htaccess file if u need to solve this issue. and keep the .htaccess file content in a *.txt file so that i can download and see the content.


    write permission is already there. u can see it by crating a new folder and try to upload any file in this folder

    Any way now i am going to tell u my problem again.

    Steps:
       Action A :
             1. Open Mozilla firefiox browser  (i am using version 3.0.19)
             2. come to http://www.pentagon.ae/elips/admin/index.php?cmd=user__a_login username & password is admin, admin
             3. then come to http://www.pentagon.ae/elips/admin/index.php?cmd=cms__page_add
             4. Click download file icon from the cute editor toolbar and try to upload any file
             5. File will not upload and u will get a alert "UploadControl : Session expired! Please refresh the page and try again."

      Action B:
             1. Open Mozilla firefiox browser
             2. come to http://www.pentagon.ae/elips/admin/index.php?cmd=common__test_file_upload
             3. u can see a normal html form file uploader.
             4. try to uploa the same file which is not uploaded by cute edito useing mozilla firefox.
             5. i will upload here nicely.
     
      Action C:
             1. open internet explorer (i am using ie7)
             2. Folow the steps in action A
             3. u can see the file will upload with out any problem.

     Action D:
             1. create a .htaccess without any content and upload it to http://www.pentagon.ae/elips/ folder to replace the old file
             2. now upload_max_filesize will set to  default 2MB you can see it here http://www.pentagon.ae/elips/test.php
             3. follow Action A steps and try to upload a file less then 2MB it will upload nicely.



    So finally my proble is why file in not uploading in Action A

    i send you ftp details to your email
  •  01-07-2011, 7:40 AM 65626 in reply to 65606

    Re: Session expired! Please refresh the page and try again.

    Dear mamunbdctg,
     
    Please test it again, it works fine now.
     
    Thank you for your business
  •  01-07-2011, 10:06 AM 65630 in reply to 65626

    Re: Session expired! Please refresh the page and try again.

    thanks , dear
     
    but the problem is still there
     
    please click here to see it
     
     
    and it is happening only in fire firefox not in ie
     
     
    please help me to solve it.
     
     
     
    Filed under:
  •  01-09-2011, 7:34 AM 65638 in reply to 65630

    Re: Session expired! Please refresh the page and try again.

    Hi dear I am waiting for your reply.
    if you got any solution please let me know
    It is a browser compatibility issue of cute editor


    Thanks
  •  01-11-2011, 5:11 AM 65670 in reply to 65638

    Re: Session expired! Please refresh the page and try again.

    Hi eric i am happy by see that somebody checking this issue.

    Any way today I got 2 different alert while uploading the file although it is not uploading

    Alert1
    alert2

     

    Please see it may be it will help u to fix it.

     

    Thanks

    Filed under:
  •  01-15-2011, 11:18 PM 65733 in reply to 65670

    Re: Session expired! Please refresh the page and try again.

    Dear eric

    I know this upload_max_filesize issue is related to my host vendor, I ask them how I can increase this php value. They told me Htaccess is the only way to do this because it is a shared hosting (Rakspace Cloude), then I ask them for sample code they give me following code.

    php_value post_max_size 128M
    php_value upload_max_filesize 128M
    php_value max_execution_time 6000000
    php_value max_input_time 6000000

    And it is working fine as I am able to upload 18 MB file form the following link
    http://www.pentagon.ae/elips/admin/index.php?cmd=common__test_file_upload

    So I can’t tell this cute editor file upload issue to them.

    NB: You have the ftp details of http://www.pentagon.ae whatever you want to test over there you can do it.

     


    Thanks
    Mohammed

  •  01-17-2011, 7:52 PM 65752 in reply to 65733

    Re: Session expired! Please refresh the page and try again.

    Hi mamunbdctg,
     
    It should works now, please try it again.
     
    Regards,
     
    ken
  •  01-18-2011, 7:37 AM 65769 in reply to 65752

    Re: Session expired! Please refresh the page and try again.

    Hi

    I created a .htaccess file with the following content and upload it to http://www.pentagon.ae/elips/ directory

    php_value post_max_size 128M
    php_value upload_max_filesize 128M
    php_value max_execution_time 6000000
    php_value max_input_time 6000000

    Then I go to your following test link
    http://www.pentagon.ae/elips/test2.php

    Then using IE7 I am able to upload 6.45 MB image

    but when I try to upload using firefox, file is not uploading and it give me that old alert

    Please click here to see this alert

  •  02-13-2011, 2:25 AM 66193 in reply to 65769

    Re: Session expired! Please refresh the page and try again.

    hi eric
     
    i am still not able to upload large file more than 2MB to my site using .htaccess php settings
    please help me to solve this issue. 
     
    here is my php current settings
    http://www.pentagon.ae/elips/test.php
     
     
    and form here i what to upload a 3 mb or large file 
    http://www.pentagon.ae/elips/test2.php
     
    i will send again my ftp details to you through mail
     
     
    Please eric or any body else help me proving .htaccess code so that i can able to upload large file through Cute editor
     
     
    Thanks
     
     
     
  •  02-14-2011, 1:10 AM 66203 in reply to 66193

    Re: Session expired! Please refresh the page and try again.

    you might want to try and upgrade your Firefox? My FF 3.6.13 uploads large files just fine with cuteEditor and there is clearly nothing wrong if you use the .htaccess file given to you by your host and IE7.
View as RSS news feed in XML