php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75278 Erro ao utilizar SESSÃO em projeto com várias chamadas de arquivos via REQUIRE
Submitted: 2017-09-28 21:24 UTC Modified: 2017-09-28 21:33 UTC
From: franfellipe2 at hotmail dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 7.0Git-2017-09-28 (Git) OS: windows 10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: franfellipe2 at hotmail dot com
New email:
PHP Version: OS:

 

 [2017-09-28 21:24 UTC] franfellipe2 at hotmail dot com
Description:
------------
---
From manual page: http://www.php.net/book.session
---
Erro ao utilizar SESSÃO em projeto com várias chamadas de arquivos via REQUIRE()?

No meu último projeto precisei chamar muitos arquivos via REQUIRE('') e quando atingiu uma certa quantidade de arquivos incluídos a sessão parou de funcionar.


Test script:
---------------
session_star();

$_session['login'] = ['email', 'password'];

//arquivo principal
index.php{

    require 'admin.php';
    require 'site.php';

}

//arquivos chamados
admin.php{

require 'painel.php';
require 'user.php';
require 'category.php';
...

}

//arquivos chamados
site.php{

require 'category.php';
require 'login.php';
require 'article.php';
...

}


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-28 21:27 UTC] spam2 at rhsoft dot net
did you ever see anybody writing a bugreport in german?
likely not - guess why - would you have been able to read it?
 [2017-09-28 21:33 UTC] peehaa@php.net
-Status: Open +Status: Not a bug
 [2017-09-28 21:33 UTC] peehaa@php.net
Even when being translated into English there is really not enough info to work with here.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 20:01:34 2025 UTC