--
Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj for details, good luck and see you there...
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com.
onServerStart()
this method will be called when a server starts
onServerEnd()
this method will be called when the server shutdown correctly (no crashes)
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG1WijVUamS-Z_-B%2BuXJyBuu_UzB09mze-aGe9SvWJK1c5msbw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAGHrs%3D-Z6%2BbtTwM4u5UapA%2BLcR5ziqWc4b6-SX-g7Phfr%2B%3D5yQ%40mail.gmail.com.
Hi all,
The latest version of Lucee 5.0.1.024 contains a first implementation of web.cfc and server.cfc. There are a few things that need to be said here:
1. It’s a hidden feature yet (well not really anymore J)
2. The server.cfc is loaded BEFORE all web contexts are loaded. This means that there will no application or so be available. Only to fill the server scope for instance or create files etc.
3. The web.cfc is called for each web context, when it starts. It contains ONE method which will be onWebStart() so the cfc will look like this:
component {
public function onWebStart() {
doSomething…
}
}
HTH
Sincerely
Gert Franz
RASIA GmbH
Spittelgasse 7
5103 Moeriken-Wildegg
Switzerland
Email: ge...@rasia.ch
Skype: gert.franz
Phone Switzerland: +41 76 5680 231
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG1WijUtoCobWT6dWKeYVnZHRsz9Rp%2BKjcTX2o%3Ddo6MxJkSDUQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/005701d1de1b%24397e3230%24ac7a9690%24%40rasia.ch.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG1WijX0rR_nqosD%3D84%2BQ%3DrGKasLMPctT0%2BjJOyAZcz2Ei1rCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAPURtC2oaSfMm-_L%3DezCEZ7xq%2BO5ujCiuJAzSMN636_7AgOTuw%40mail.gmail.com.