Several initial pages depending on machine

I made two types of initial pages:

  • one for the PDA (do not execute javascript and with a reduced resolution) named login.html
  • another for PC (moreover appears more or less adds depending the user resolution) named loginPC.html

the initial page is login.html that depending on if user can execute jave and resolution, then it redirects to loginPC.html.

I have a problem becuase there are, essentially, two MT variables.
ms-chap and error. Their values can not be get from loginPC.html.
So, I can’t use my RADIUS accounts and no error appears.

I know if I do more complex my HTML code in login.html, maybe I can solve. Although I prefer to having two files for each resolution.

Any possible solution to get their values?

RE: Several initial pages depending on machine

It will be possible in next 2.9 version (2.9rc7).

Just put loginPC.html into seperate directory as login.html (pc/login.html)
and then redirect to “$(link-login-only)?dst=$(link-orig-esc)&target=pc”.