Jump to content

session_start( )


SaranacLake

Recommended Posts

6 hours ago, SaranacLake said:

that is not happening in my case

It is, as that's the only way you'd get that error.   Your other call just may not be explicit which is why you can't find it.  It's also why I provided a few hints toward what the problem most likely is, but you haven't seemed to pick up on them yet.  So l let's repeat them here so maybe you can get it figured out.

Hint the first:

On 1/11/2020 at 1:27 PM, kicken said:

Note: there's also a php.ini setting called session.auto_start.  If you've enabled that then you don't need to manually call session_start().

Hint the second (with more emphesis):

14 hours ago, kicken said:

You say you get this error on one sever but not the other.  That kind of situation tends to be due to configuration differences, such as one being configured as session.auto_start=On and the other being session.auto_start=Off.

 

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.