Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

how to conserve a cookie session with php

hello

I would want to keep(preserve) the session of the script to avoid having to connect every time and replace cookies once more valid

ty

code http://pastebin.com/3v3a6w1e Do not publish
0
hexo dark
Asked:
hexo dark
  • 2
  • 2
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
That is not going to work.  You always have to get the new session cookie.  Standard session expiration time is 1440 seconds (24 minutes) of inactivity.  Some time after that, the session will expire on the server and you will not be able to use the old session ID.
0
 
hexo darkAuthor Commented:
When we look at a video are you considered as an inactivity?
0
 
Dave BaldwinFixer of ProblemsCommented:
If you are not making any more page requests during that time, the answer is probably yes.
0
 
hexo darkAuthor Commented:
ty
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now