Marten,
If you are using GLASS, take a look at SystemLoginNotification. You can subscribe for a #sessionStart message to be sent to a global by subscribing with the name of a global:
SystemLoginNotification subscribe: #MCWorkingCopy
The #sessionStart message is then sent shortly after login.
Also for dealing with session temps, I tend to favor lazy initialization when possible. SessionTemps current is empty everytime the session is started, so it is a pretty reliable indicator...
Dale
----- Original Message -----
| From:
[hidden email]
| To:
[hidden email]
| Sent: Friday, January 10, 2014 7:10:52 AM
| Subject: [Glass] How to initialize a after startup of a system/gem ?
|
| If a gem is started - how can I initialize a class variable to a
| transient instance structure ?
|
| Marten
|
| --
| Marten Feldtmann
| _______________________________________________
| Glass mailing list
|
[hidden email]
|
http://lists.gemtalksystems.com/mailman/listinfo/glass|
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass