From 4afe4c23736f5fab1a8fbbeed8ff6cc7e660fc6b Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sat, 13 Nov 2010 05:55:18 +0000 Subject: [PATCH] * when GET, unset the sessionVar. --- framework/router.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/router.class.php b/framework/router.class.php index 2836eeb2c4..e75e4a62df 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -1159,10 +1159,11 @@ class router */ public function setParamsByGET($defaultParams) { - /* Unset the moduleVar, methodVar and viewVar, all the left are the params. */ + /* Unset the moduleVar, methodVar, viewVar and session var, all the left are the params. */ unset($_GET[$this->config->moduleVar]); unset($_GET[$this->config->methodVar]); unset($_GET[$this->config->viewVar]); + unset($_GET[$this->config->sessionVar]); $this->params = $this->mergeParams($defaultParams, $_GET); }