php session times...... Need longer for a page

Discussion in 'PHP' started by GloBleeOne, Sep 1, 2008.

  1. #1
    Is it possible to extend the session times on one php page, without affecting the other pages on a site?

    I have an issue where some photographers on Dialup, are uploading their photos, coming back 10 minutes later to find out they have been logged out.
     
    GloBleeOne, Sep 1, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
  3. GloBleeOne

    GloBleeOne Peon

    Messages:
    286
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Is there any way to do it in the actual php page itself tho?
     
    GloBleeOne, Sep 2, 2008 IP
  4. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
  5. Ilyes

    Ilyes Banned

    Messages:
    129
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You may use an automatic refresh, I saw this in some websites...

    For example if your current session time limit is 10 min in all pages. And you want photographers.php stay longer..
    so add this meta tag:
    <META HTTP-EQUIV="Refresh" CONTENT="540">

    I hope this will resolve the problem
     
    Ilyes, Sep 2, 2008 IP
  6. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #6
    Won't a meta refresh stop the upload? Put a small iframe and refresh it instead. (if the php.net link above does not help...)
    regards :)
     
    JEET, Sep 2, 2008 IP
  7. GloBleeOne

    GloBleeOne Peon

    Messages:
    286
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks for your help. I am trying:
    to see if that works.
     
    GloBleeOne, Sep 2, 2008 IP