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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 06:01:30 2024 UTC