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.
In reply to Re: Limiting access to a local web application
by jethro
in thread Limiting access to a local web application
by akho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |