signing out all users

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default signing out all users

    hi,

    i have written an aplication that changes some global variables of my
    another application. it is some kind of a web.config editor.

    i want all users that are signed in to be signed out when i change any
    variable with the utility program.

    or do you have another idea?

    KaaN
    [email]kaan.oezturk@spdata.de[/email]
    KaaN Guest

  2. Similar Questions and Discussions

    1. PGP Signing Emails With ColdFusion
      I?m currently working on a ColdFusion (MX7) application that needs to send PGP signed emails. Has anyone had any experience of this because any...
    2. Me, myself and Irene - Signing Off.
      Okay, the time has come. I/We have been posting as the following: BBJ
    3. Signing Off
      Well, ladies and gentlemen, as I said about sixteen hundred posts ago, I have found my meager knowledge (and BTW thanks a heck of a lot to whatever...
    4. PDF signing programmatically
      Hi all, I am trying to write plug-in which will be used for PDF signing. I started from DocSign sample (Acrobat SDK) and change few things in it...
    5. signing on to a form
      I have a data collection form I would like to have the person entering the data give me their initials. But I don't want to require them have to...
  3. #2

    Default signing out all users

    Yikes, that's not a very nice thing to do to your users.

    There is no safe way to do this because you really can't
    access the sessions of other users from an existing
    session. You can't really put a reference to the users
    session as they session_start in the application scope
    because each users data is protected I believe.

    You could create an application level flag though such as:

    Application("Logoff") = True

    or something, check on each page if it's true and if so
    you could then abandon the session and redirect them to
    login. That's about as good as it'll get.

    Personally, the easiest route is to make the program so
    that any application scoped data is pulled when it's need
    by each session. I'm not sure the driver for this
    session ending effect you're looking for. Perhaps the
    flag above is the safest and most reliable approach, but
    make sure it's the first thing in your Page_Load.
    >-----Original Message-----
    >hi,
    >
    >i have written an aplication that changes some global
    variables of my
    >another application. it is some kind of a web.config
    editor.
    >
    >i want all users that are signed in to be signed out
    when i change any
    >variable with the utility program.
    >
    >or do you have another idea?
    >
    >KaaN
    >kaan.oezturk@spdata.de
    >.
    >
    Keith Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139