|
Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/ Set by moderator on 6 May 2018. |
|||
|
01:57
ilbot3 joined
|
|||
| moderator | Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/ | ||
|
13:23
ilbot3 joined
|
|||
| moderator | Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/ | ||
|
15:33
lancew joined
|
|||
| lancew | Hi all, I have been experimenting with Cro this weekend as a basic web framework (porting a Bailador app) and been enjoying it. Got basic auth via the in memory approach, struggling a bit with creating a logout route. Currently I have the login add a $user.username and loggedin is if username defined. $user.username:delete; seems the obvious approach to clearing the session... but does not work (else why would I be here) so wondering ig | 15:37 | |
| there is an example someone could point me at ? | |||
| OK... so creating a method that clears the attribute worked rather than being silly. :-) | 15:58 | ||
| ...maybe. OK, time to read more docs | 15:59 | ||
|
16:36
lizmat joined
17:36
lizmat joined
18:27
Geth joined
|
|||
| jnthn | If it's an `is rw` attribute then just assigning Nil to it would do fine also :) | 19:41 | |
|
20:09
lancew joined
20:48
jnthn1 joined
|
|||