Approved or cancel - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: Approved or cancel

On Fri, 21 Aug 2009 04:56:24 -0700 (PDT), Vm wrote:

Quoted text here. Click to load it

It IS, however, necessary to uniquely identify which manager
so you can present only the correct vacation requests. So
may be you want that random key or you want a REALLY LONG
session lifetime (the how-to of which the PHP manual details at ) and have the manager log
in only once per browser.

Remember, a 12'x12'x18" raised floor can hold over a thousand gallons of
blood before it starts to seep up through the cracks.
              -- Roger Burton West in the Monastery

Re: Approved or cancel

Peter H. Coffin schreef:
Quoted text here. Click to load it

That is possible, but I think it is not wise to have such longlasting
sessions. That leads to all kind of security implications.
Better go with the random generated long key instead. :-)

Erwin Moller

"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare

Re: Approved or cancel

On Fri, 21 Aug 2009 16:24:25 +0200, Erwin Moller wrote:
Quoted text here. Click to load it

That way would be easier for delegation to to other managers, too. Just
forward the note, or open the other's mailbox. It just makes the
possession of the email the key to being able to approve the vacation
instead of making the possession of the computer key to approval.

Either way is horrible to me, but I've seldom run into a manager that
really valued security above convenience. (: The best compromise my fine
employer's come up with is a well-distributed system of authenication
against LDAP, and even that is not THAT different from the session
method (with regard to actual unauthorized use) in these days of
browsers remembering passwords for domains.... I can say that PHP does
work fairly well with it, just to keep things marginally topical.

    A gastronome of the old school who preserves the simple tastes and adheres
    to the natural diet of the pre-pork period.

Site Timeline