in reply to Limiting access to a local web application
If your cookie isn't set, this is a new user. If you need to know which user exactly then you can ask for a name (and put that name into the cookie). No need to ask for a password. If you just need to differentiate between users (without needing to know a name) then the value of the cookie is just a random number you store somewhere.
If it is set you check the cookie and know now which "thread" is doing the asking.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Limiting access to a local web application
by Anonymous Monk on Aug 04, 2008 at 07:02 UTC | |
by jethro (Monsignor) on Aug 04, 2008 at 12:03 UTC |