authentication
Donatas V.
vyzard@yahoo.com
Fri, 8 Mar 2002 06:07:46 -0800 (PST)
Hi!
I would like to know, if I can do authentication using
imps authentications mechanism(when i enter a
particular page, it checks if a user is logged in, and
if not - redirects ro login page). I mean, in example
now everybody, who knows, I have horde + imp
installed, can click on
http://myserver.com/horde/problem.php, write a message
in there, and I will get it.
I want, when a user is not logged, and clicks on
http://myserver.com/horde/problem.php, he should be
redirected to http://myserver.com/horde/imp/login.php
.
How can i do that?
What lines I should write in that page (ie in
problem.php)?
bye
Donatas
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
>From chuck@horde.org Date: Fri, 8 Mar 2002 09:15:14 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 81605 invoked from network); 8 Mar 2002 14:15:53 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
by clark.horde.org with SMTP; 8 Mar 2002 14:15:53 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 2555E39B3; Fri, 8 Mar 2002 09:15:15 -0500 (EST)
Received: from 192.168.0.118 ( [192.168.0.118])
as user chuck@localhost by marina.horde.org with HTTP;
Fri, 8 Mar 2002 09:15:14 -0500
Message-ID: <1015596914.3c88c772ee8ef@marina.horde.org>
Date: Fri, 8 Mar 2002 09:15:14 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <20020308140746.91767.qmail@web9708.mail.yahoo.com>
In-Reply-To: <20020308140746.91767.qmail@web9708.mail.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [imp] authentication
Quoting "Donatas V." <vyzard@yahoo.com>:
> I would like to know, if I can do authentication using
> imps authentications mechanism(when i enter a
> particular page, it checks if a user is logged in, and
> if not - redirects ro login page). I mean, in example
> now everybody, who knows, I have horde + imp
> installed, can click on
> http://myserver.com/horde/problem.php, write a message
> in there, and I will get it.
> I want, when a user is not logged, and clicks on
> http://myserver.com/horde/problem.php, he should be
> redirected to http://myserver.com/horde/imp/login.php
Fixed in HEAD.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
and justice is a good dream." - Tariq Ramadan