source: trunk/spip/esqueleto-redcta/plugins/magusine-portage2/inc/user_session.php @ 198

Last change on this file since 198 was 198, checked in by guille, 15 years ago

magusine 2

File size: 714 bytes
Line 
1<?php
2/***************************************************************************\
3 Plugin   : magusine
4 Licence  : GPL
5 Auteurs  : Stéphane Noël, Philippe Vanderlinden
6 Infos    : http://www.spip-contrib.net/Le-plugin-Magusine
7            http://www.magunews.net/spip.php?rubrique645
8
9 $LastChangedRevision: 12345 $
10 $LastChangedBy: bubu $
11 $LastChangedDate: 2008-03-21 15:50:47 +0100 (ven, 21 mar 2008) $
12 \***************************************************************************/
13
14// crᅵe une session et gᅵnᅵre un id unique qui sera utilisᅵ pour vᅵrifier les actions transmises par url (id_check
15session_start();
16if (!isset($_SESSION['id_check'])){
17        $_SESSION['id_check'] = uniqid(rand());
18}
19?>
Note: See TracBrowser for help on using the repository browser.