On Sun, 3 Mar 2013, Punter wrote:
On 03/03/2013 06:52 PM, Henk van Oers wrote:
[look ma, no cookies :)]

I solved this problem by making 2 websites:
- "static" no session
- "dynamic" other hostname, other config.yml

In my case, the same pages should appear on both sites, with tiny differences. It would not be practical to maintain two sets of pages with repeated elements for the cookie & no-cookie cases.

I think https://metacpan.org/module/Wallflower
can help.

Best served as file, no Perl.

get '/' => sub {
    template 'index';
};

is not required.

Mmmm, Dancer behind the Wallpaper ?

--
Henk
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to