本文整理汇总了PHP中class_funciones::uf_limpiar_sesion方法的典型用法代码示例。如果您正苦于以下问题:PHP class_funciones::uf_limpiar_sesion方法的具体用法?PHP class_funciones::uf_limpiar_sesion怎么用?PHP class_funciones::uf_limpiar_sesion使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类class_funciones
的用法示例。
在下文中一共展示了class_funciones::uf_limpiar_sesion方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<tr class="fd-blanco">
<tr class="fd-blanco">
<table width="1209" border="0" align="left" cellpadding="1" cellspacing="1" class="fondo-tabla">
<tr class="titulo-ventana">
<td width="110"><div align="center">Cuenta</div></td>
<td width="169">Denominacion</td>
<td width="153"><div align="center">Asignado</div></td>
<td width="202"><div align="center">Trimestre(1)</div></td>
<td width="156"><div align="center">Trimestre(2)</div></td>
<td width="156"><div align="center">Trimestre(3)</div></td>
<td width="161"><div align="center">Trimestre(4)</div></td>
</tr>
<?php
if($ls_operacion=="")
{
$fun->uf_limpiar_sesion();
/*$arr=array_keys($_SESSION);
$li_count=count($arr);
for($i=0;$i<$li_count;$i++)
{
$col=$arr[$i];
if(($col!="ls_hostname")&&($col!="ls_login")&&($col!="ls_password")&&($col!="ls_database")&&($col!="ls_gestor")&&($col!="con")&&($col!="gestor")&&($col!="la_empresa")&&($col!="la_logusr")
&&($col!="la_ususeg")&&($col!="la_sistema")&&($col!="ls_port")&&($col!="ls_width")&&($col!="ls_height")&&($col!="ls_logo")&&($col!="la_apeusu")&&($col!="la_nomusu")&&($col!="la_cedusu"))
{
unset($_SESSION["$col"]);
}
}*/
$la_empresa = $_SESSION["la_empresa"];
$ls_codemp = $la_empresa["codemp"];
示例2: function
<?php
session_start();
if(!array_key_exists("la_logusr",$_SESSION))
{
print "<script language=JavaScript>";
print "location.href='../sigesp_inicio_sesion.php'";
print "</script>";
}
require_once("../shared/class_folder/class_funciones.php");
$io_funcion=new class_funciones();
$io_funcion->uf_limpiar_sesion();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" language="JavaScript1.2" src="../shared/js/disabled_keys.js"></script>
<script language="javascript">
if(document.all)
{ //ie
document.onkeydown = function(){
if(window.event && (window.event.keyCode == 122 || window.event.keyCode == 116 || window.event.ctrlKey))
{
window.event.keyCode = 505;
}
if(window.event.keyCode == 505){ return false;}
}
}
</script>
<title >Sistema de Inventario</title>