17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 934 Views |
-
Director::history($pagesBack=1)

15 July 2007 at 3:59pm Last edited: 15 July 2007 9:32pm
Is that method working? I suggest something like
[code php]
$history = Session::get('history');
if (!$history) {
return null;
}
return $history[sizeof($history)] - $pagesBack - 1;
}Anyway, it's used only once in Security.php. Even Director::redirectBack() do not use it. So, is it necessary to have this? Because the session grows larger and larger, when somebody surf the pages.
| 934 Views | ||
|
Page:
1
|
Go to Top |

