<?php session_start(); if(isset($_SESSION['camurl'])){ echo($_SESSION['camurl']); unset($_SESSION['camurl']); }else{ echo("KO"); }