[imp] Check with php if browser javascript and cookie is active

Jan Schneider jan at horde.org
Wed Jan 14 07:12:22 PST 2004


Zitat von Carl Provencher <Carl.Provencher at sit.ulaval.ca>:

> I'm newer adminstrator used horde/imp.  We have a contract with a LQT
> compagnie (Etienne Goyer) to implemented it in our environnement.  We
> have a lot of user
> (60000 max, but only 3000 actives now).
>
> I want to check in login page (like in template/login/login.inc) if the
> student (user) have browser javascript active and browser cookie active,
> if not, I display warning messages.
>
> Someone can indicate to me with php's commands I must to use to check
> this.  Give me only hint.

Use the <noscript> tag on the login template and
isset($_COOKIE[session_name()]).

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list