14 Feb
2012
14 Feb
'12
5:23 a.m.
On 14.2.2012, at 5.19, Michael M Slusarz wrote:
b login (SAVEDSTATE 1234567890) user pass
I guess the drawback for this approach is that you are explicitly breaking the LOGIN definition.
No breaking, extending :)
And you don't allow reviving the state if using the AUTHENTICATE command.
Just as easy:
b authenticate (savedstate ..) plain ..
The alternative would be to have an additional pre-authentication command that sets the desired state. But that adds the overhead of sending/parsing another command.
Yeah. Although not bad either, since you can pipeline that command + login/authenticate.