Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think it would be very beneficial to make the attend URL reusable in other modules for situations when it can be safely known that the user is registered to a webinar and that webinar is already running.
The benefit of using direct url instead of 'node/%node/redirect/attend' is that php workers can be saved on sites with high traffic :)
Please see attached patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | make_attend_url_reusable-2185343-7.patch | 1.44 KB | m1n0 |
Comments
Comment #1
m1n0 CreditAttribution: m1n0 commentedComment #2
m1n0 CreditAttribution: m1n0 commentedActually, this should be more of a question - is this actually possible/safe to do?
Comment #3
Chipie CreditAttribution: Chipie commentedCould you explain the advantages? Why don't you want to use the url `/node/%nid/meeting/attend' ?
Comment #4
m1n0 CreditAttribution: m1n0 commentedAs I stated previously, php workers can be saved - in a situation when few dozens (or even hundreds) of people want to join at the same exact moment (e.g. in my case, they all get a pop-up message). I know it's just a redirect, but even though, if several hundred people hit '/node/%nid/meeting/attend' at the same exact moment, they will eat up server workers easily.