+ Reply to Thread
Results 1 to 4 of 4

Thread: increase (override) session time
      
   

  1. #1
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default increase (override) session time

    Hello dear colleagues from the VH forum,

    Sometime ago the admin of my VH server has decreased the session time and now when I am using our reserved area the session extinguishes very fast.
    Also when I am using my usual FTP program to download my php and html files to the server, I hardly have time to make my changes and I am forced to make login again.

    Can please someone tell me how from inside my php program can I increase this time ?

    Regards and thanks in advance,
    pipesportugal

  2. #2
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,354

    Default Re: increase (override) session time

    Contact support.

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default Re: increase (override) session time

    Hi,

    I have just tried to use the following instruction:
    PHP Code:
     <?php 
    ini_set
    ('session.gc_maxlifetime'28800); 
    ?>
    This would set maxlifetime to 4 hours, overwriting php.ini’s value.
    It did not work for me, because as I am using a shared server I supose that am not allowed to customize this parameter for my use.

    Thank You Karen,
    pipesportugal

  4. #4
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,354

    Default Re: increase (override) session time

    yes.. on a shared server things are not freely accessible for security reasons. What you set on yours could affect others and their usage. Thats why you need to contact support.

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49