dorje 2012-03-07 10:38:58 3497次浏览 0条回复 0 0 0

有谁遇到过用frameset和frame时产生多个session 这是我的html代码:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>WHT-CMS-<?php echo Yii::app()->name; ?></title>
    </head>
   <frameset border="0" frameSpacing="0" rows="76,*">
    	<frame id="header-frame" name="header-frame" src="/index/header/"  scrolling="no" />
	    <frameset id="frame-body" border="0" frameSpacing="0" cols="180, 10, *">
		    <frame id="menu-frame" name="menu-frame" src="/index/menu/"  scrolling="no" />
		    <frame id="drag-frame" name="drag-frame" src="/index/drag/" scrolling="no" />
		    <frame id="main-frame" name="main" src="/index/main/"  scrolling="yes"/>
		    <!-- frameBorder="no" -->
    	</frameset>
    </frameset>
    <noframes>
    </noframes>
</html>

这是我的session配置。

'session' => array (
    'autoStart' => true,        //是否自动启动Session
    'class' => 'system.web.CDbHttpSession',  
    'connectionID' => 'db',
    'timeout' => 3600,
    'sessionTableName' => 'sm_session',
),

这个是在db中产生的session [attach]659[/attach]

    没有找到数据。
您需要登录后才可以回复。登录 | 立即注册