Hi everybody! In my ongoing web project i encountered a problem regarding redirection. The scenario is this:
a) user logs on.
b) the count of records in a specific table determines if the user will be redirected to a specific controller/action
c) user arrives in that particular controller/action and does something here
d) (after having done what must be done) the user must be forced to log out (can this be done somehow automatically?)
I think i already implemented this scenario until c) using ActionFilterAttribute (by decorating all the controllers with that particular class).
But how do i force the user to logout?
Thanks in advance