[imp] is it impossible? what am I doing wrong.

Zachary Denison zacharydenison@yahoo.com
Thu, 24 Jan 2002 11:32:44 -0800 (PST)


Hi,

I dont understand what I am doing wrong. I set
cookie_path to '/' and and using Horde:url.  Now when
I login it takes me to the imp mailbox. when I want it
to take me to the hello.php page.  I tried the same
configuration below with all different combinations of
true and false in the Horde::url statement.

Thank you very much I really appreciate the help.


<?

include('base.php');

$user=Auth::getAuth();

if($user){
         print "Hello $user";
} else {
        $x=Horde::url("login.php?url=/hello.php",
true, true);
         //  echo "string is: " . $x;
          // exit;

         header( 'Location: ' . $x );
         exit;
}
?>


--- Jan Schneider <jan@horde.org> wrote:
> Zitat von Zachary Denison
> <zacharydenison@yahoo.com>:
> 
> > is it impossible with imp login covering the horde
> > authentication to have a file completely outside
> the
> > horde or imp directories use the imp login
> apparatus
> > and then upon successful authentication direct the
> > user to exactly the same page.. not to the imp
> > mailbox, and not to any single login area but
> rather
> > whatever page you try to access, if you are not
> > authenticated, it takes you to the IMP login page
> and
> > after authentication directs you to whatever page
> you
> > originally tried to go to?  It seems like it
> should be doable.
> 
> If you don't use applicationUrl() and set the
> cookie_path to '/' it should 
> be possible.
> 
> Jan.
> 
> --
> ::::::::::::::::::::::::::::::::::::::::
> AMMMa AG - discover your knowledge
> :::::::::::::::::::::::::::
> Detmolder Str. 25-33 :: D-33604 Bielefeld
> fon +49.521.96878-0 :: fax  +49.521.96878-20
> http://www.ammma.de
> ::::::::::::::::::::::::::::::::::::::::::::::
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail:
> imp-unsubscribe@lists.horde.org
> 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com