In my routing file, I started with the default route:
- addRoute(pattern=’:handler/:action?’);
This works for the URL’s:
-
/index.cfm/main/cruiseNight
-
/index.cfm/main/goExclusive
-
/index.cfm/events/saveRegistration
So I added a new route (I’ve tried both before and after the default route):
- addRoute(pattern=‘events/ThankYou/:eventregistrationkey?’);
…based on the documentation I found. However, it doesn’t work, and by “doesn’t work”, I mean:
-
When the ThankYou route is the first line in the routes config, it doesn’t even go to that event handler at all, though the above URL’s work correctly
-
When the ThankYou route is the second line in the routes config, it goes to the event, but does NOT create rc.eventRegistrationKey when the URL is
/index.cfm/events/ThankYou/DF41E003-D024-45FD-9A8C-8E01BEB2CA03 -
CGI.path_info = /events/ThankYou/DF41E003-D024-45FD-9A8C-8E01BEB2CA03
Yes, I’m reiniting between route file changes. Do I have the route(s) coded wrong?