Download List

Projeto Descrição

Zebra_Session is a PHP class that acts as a wrapper for PHP’s default session handling functions. Instead of storing session data in flat files, it stores them in a MySQL database, thus providing both better security and better performance. The Zebra_Session class is also a solution for applications that are scaled across multiple Web servers (using a load balancer or a round-robin DNS) and where the user’s session data needs to be available, since storing sessions in a database makes them available to all of the servers. Zebra_Session‘s code is heavily commented and generates no warnings, errors, or notices when PHP’s error reporting level is set to E_ALL.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2013-01-29 10:47
2.0.4

Esta versão corrige um bug que fez vidas sessões duas vezes como longo como esperado, adiciona detalhes sobre como preservar os dados de sessão em subdomínios a documentação e faz com que as mensagens relacionadas com erros de conexão de banco de dados mais significativos.
This release fixes a bug which made sessions' lifetimes twice as long as expected,
adds details on how to preserve session data across subdomains to the documentation,
and makes the messages related to database connection errors more meaningful.

2011-10-15 17:38
2.0.1

Agora, o método de construtor aceita um argumento de link opcional que deve ser um identificador de ligação de MySQL. Por padrão, a biblioteca fez uso do último link abertos por mysql_connect (). Em alguns ambientes (particularmente em hospedagem compartilhada) o "último link aberto por mysql_connect" não estava disponível no momento da instanciação da biblioteca Zebra_Session. Para esses casos, fornecer o identificador de ligação do MySQL para o método de Construtor irá corrigir as coisas. A documentação foi corrigida e ampliada.
The constructor method now accepts an optional link argument which must be a MySQL link identifier. By default, the library made use of the last link opened by mysql_connect(). On some environments (particularly on shared hosting) the "last link opened by mysql_connect" was not available at the time of the instantiation of the Zebra_Session library. For these cases, supplying the MySQL link identifier to the constructor method will fix things. The documentation was corrected and expanded.

2011-04-19 06:27
2.0

Esta versão implementa fecho da sessão, de modo a garantir que os dados sejam corretamente tratados em um cenário com várias solicitações simultâneas AJAX.
This release implements session locking, a way to ensure that data is correctly handled in a scenario with multiple concurrent AJAX requests.

2011-01-03 04:16
1.0.8

Esta versão corrige um pequeno bug no método destroy: o script iria desencadear um aviso PHP se o valor HTTP_USER_AGENT não estava disponível na $ _SERVER super-global. Ele adiciona um novo método "get_settings", que retorna as configurações padrão para a sessão relacionadas ao ambiente onde a classe é usada. A classe vai agora desencadear um erro fatal se uma conexão de banco de dados não está disponível. A classe agora informa se a tabela do MySQL não está disponível. O construtor da classe aceita agora um novo argumento, tableName, com isso, a tabela de MySQL usada pela classe pode ser alterada.
This release fixes a small bug in the destroy method: the script would trigger a PHP notice if the HTTP_USER_AGENT value was not available in the $_SERVER super-global. It adds a new method “get_settings” that returns the default session-related settings for the environment where the class is used. The class will now trigger a fatal error if a database connection is not available. The class will now report if MySQL table is not available. The constructor of the class now accepts a new argument, tableName; with this, the MySQL table used by the class can be changed.

Project Resources