PHP Classes

Secure use_trans_sid: Emulate the use_trans_sid option using Smarty

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 286 All time: 7,543 This week: 660Up
Version License Categories
securesid 1.0The PHP LicenseUser Management, Templates
Description 

Author

This package can be used use emulate use_trans_sid PHP option with output generated with Smarty templates.

It can be used in PHP environments on which the session.use_trans_sid option is disabled for security reasons.

There is a class that extends the base Smarty base class to load a plug-in script . This script is an output filter that parses all the output links and includes the PHPSESSID variable.

In Spanish:

Incluya el id se la session en todas las paginas html de forma dinamica utilizando este Output filter para Smarty.

Prevenga huecos de seguridad provocados por habilitar la variable session.use_trans_sid en el php.ini.

Picture of juan camilo rincon
Name: juan camilo rincon <contact>
Classes: 1 package by
Country: Colombia Colombia
Age: 42
All time rank: 386924 in Colombia Colombia
Week rank: 215 Up2 in Colombia Colombia Up

Details

README Preocupado por las permanentes recomendaciones de la documentacion de PHP sobre no-habilitar la variable session.use_trans_sid y por tener que modificar completamente todos los tags <a href> de mis multiples proyectos, decidi crear esta script tipo output filter basado en Smarty para agregar automaticamente a todos los enlaces la variable de session PHPSESSID. Cualquier duda o recomendacion, pueden enviarla a jcrincon@parquesoft.com

  Files folder image Files (3)  
File Role Description
Files folder imageconf (1 file)
Files folder imageplugins (1 file)
Accessible without login Plain text file README Data README

  Files folder image Files (3)  /  conf  
File Role Description
  Plain text file setup.php Class Smarty configuration class

  Files folder image Files (3)  /  plugins  
File Role Description
  Accessible without login Plain text file outputfilter.addsessid.php Aux. output filter for smarty

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:286
This week:0
All time:7,543
This week:660Up