Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: how do I force a specific session, not my own, to end? (delete)

by ted.byers (Scribe)
on Mar 08, 2013 at 21:15 UTC ( #1022494=note: print w/ replies, xml ) Need Help??


in reply to Re: how do I force a specific session, not my own, to end? (delete)
in thread how do I force a specific session, not my own, to end?

No, I don't have them confused. Rather, the two ideas are related in this specific use case, in that we're revoking all authorization for a specific user as well as making it impossible for him to authenticate himself in the future

As it turned out, I had missed the fnd function provided by CGI__Session. That was what I needed

thanks

Ted


Comment on Re^2: how do I force a specific session, not my own, to end? (delete)
Re^3: how do I force a specific session, not my own, to end? (delete)
by osler (Sexton) on Mar 08, 2013 at 23:17 UTC

    In line with the previous post by anonymous, I think you're making this more complicated than it needs to be.

    An approach that allows you to skip purging sessions is to create an active_disabled flag for user accounts and at the authorization/permissions level don't allow disabled users to see anything they shouldn't see on the site. That way all that needs to be done to disable a user is to change this flag.

Re^3: how do I force a specific session, not my own, to end? (delete)
by Anonymous Monk on Mar 09, 2013 at 02:12 UTC

    No, I don't have them confused.

    Then your code is confusing them :)

    return if $user->isDisAllowed;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2014-08-21 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls