Closed GoogleCodeExporter closed 9 years ago
All good now.
Added session variable for $loggedInYear which sets $loggedInYear to $year when
you
log in.
If $loggedInYear is null, it lets you move forward. User isn't logged in, so
they
can do not logged in user stuff...
If $loggedInYear==$year, user is allowed to move about in the year freely. They
logged into the year they were trying to access. Good for them...
If ($loggedInYear!=$year && $loggedInYear!=null) then the user tried to switch
between years without logging out first then logging in with their user name
for the
year they were trying to access. Bad User! The user is automatically logged
out and
asked to log back in.
Year check and redirect is performed in alwaysInclude
Original comment by jjud...@gmail.com
on 24 Aug 2008 at 2:28
Original issue reported on code.google.com by
jjud...@gmail.com
on 5 Aug 2008 at 1:20