Hi.
I would like to set a session variable called 'paidup' on login.html in the
captive portal and access it's value on release.html page.
I have seen there's a lib/pf/web/custom.pm where I can add the session variable.
pf::web::stash_template_vars = sub { my ($portalSession, $template) = @_;
return { 'paidup' => DEFAULT_VALUE };};
Then, in login.html I can set it to a value based on user input and in
release.html I can access it?Is that the best way to do it or is there any
other better way?
Thanks
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users