Re: Login script and posting

Lukas Smith <[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Organization BackendMedia GbR
Message-ID <[email protected]>
Dan Rossi wrote:
> Hey there, I have a little app framework, where I seperate get and post 
> requests into methods for the page. I've run into an issue where I have 
> the login form within the event dispatcher class posting where its 
> logged out of the script, therefore posting into the script and firing 
> the post method.
> 
> I was wondering if there was a way if I login to a login script and I 
> use the onLogin method to redirect to antoher page. However what if I 
> the pages is forced back to the login script, which event method is 
> fired, as I'd want to bring it back to the login form somehow :\

not sure what you mean .. the easiest thing for you is to just look at 
LiveUser.php and search for the "$this->dispatcher->post()" calls. that 
way you will see where all the events are fired.

-- 
Lukas Smith
[email protected]
_______________________________
   BackendMedia
   www.backendmedia.com
   [email protected]

   Linn Zwoch Smith GbR
   Pariser Str. 44
   D-10707 Berlin

   Tel +49 30 83 22 50 00
   Fax +49 30 83 22 50 07
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.