Trial user / local landing page / redirect after login

Hi,

i currently played around with redirecting user to an external website after they have logged in.
Using the string

it works within a landing page with username and password authentication but as soon as i put it into one with trialuser the redirect doesn’t ahppen and I end up in the status.html.
Has anyone a clue as to why this is happening?

$(if trial == ‘yes’)

Test



Bestätigen

Test



Accept $(endif)

Best regards

Additonally if this keeps failing to work, is there another way to redirect user to an external site after successful authentication?

anyone?!?

I always use the alogin.html file for redirection after login (google or any sites).
Tested with regular users and trial users, No Problem at all

Hotspot
You are logged in

If nothing happens, click here

I considered that but I couldn’t figure out who calls that file. Is it spawned from login.html or status.html and which directive is necessary to bring it up?

http://wiki.mikrotik.com/wiki/Manual:Customizing_Hotspot
alogin.html - page shown after client has logged in. It pops-up status page and redirects browser to originally requested page (before he/she was redirected to the HotSpot login page)

thank you!

Can we have a different landing page for Trial users and Regular users?

If the device is a Smartphone / Android, note that the CNA will close automatically just after Internet is opened.
So for these devices your page after connection will not be presented