Jump to content

Muliple Session_Start()


abdfahim

Recommended Posts

Hi, I have some questions (for php 5.2.3)

 

1) Is there any problem if I use Session_Start() several times in a page?

 

2) Is there any other variables responsible for session expire except than session_destroy() and session_gc_maxlifetime() ?

Link to comment
Share on other sites

Well, I add those session_start() in each pages when I started php coding. Then i have to include some pages within other ones. As a result some (actually i think many) pages have multiple session_start. Now I have to do a lot to change those :(.

 

And btw, I am having some problems like my sessions expired in abt 5 mins without any reason though session.gc_maxlifetime is set to deafult 1440 in my server.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.