RE: persistent login

2007-02-04 Thread Mariano Iglesias
e-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Sergei Enviado el: Domingo, 04 de Febrero de 2007 11:44 p.m. Para: Cake PHP Asunto: Re: persistent login I'm using 1.1 unfortunately. Don't want to use unfinished 1.2 for now. Thank you for the link of Cookie component. Things b

Re: persistent login

2007-02-04 Thread Sergei
I'm using 1.1 unfortunately. Don't want to use unfinished 1.2 for now. Thank you for the link of Cookie component. Things become much more sophisticated, maybe I should drop this idea. On 5 Фев., 01:24, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > Session's lifetime is that of a normal brows

Re: persistent login

2007-02-04 Thread Sergei
Thank you, I know the logic of this process. Just wanted to know a Cake's method for this. Turns out that there is not one. On 5 Фев., 00:44, Kaste <[EMAIL PROTECTED]> wrote: > > how to make persistent login with Cake's session component? Or should > > I manually

RE: persistent login

2007-02-04 Thread Mariano Iglesias
lukemack Enviado el: Domingo, 04 de Febrero de 2007 02:23 p.m. Para: Cake PHP Asunto: Re: persistent login just trying to be helpful. i'll assume from your rude response that you won;t be needing any more help. --~--~-~--~~~---~--~~ You received this message because

Re: persistent login

2007-02-04 Thread Kaste
> how to make persistent login with Cake's session component? Or should > I manually create some cookies for this? "persistent logins" are those "remember me" check-boxes on some forums? if so, not the session is permanent or persistent, but the user will be au

Re: persistent login

2007-02-04 Thread lukemack
just trying to be helpful. i'll assume from your rude response that you won;t be needing any more help. On 4 Feb, 13:41, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Afaik cake's sessions are always for a limited amount of time. > So you will need to write your own system. Using cookies migh

RE: persistent login

2007-02-04 Thread Mariano Iglesias
r ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Sergei Enviado el: Domingo, 04 de Febrero de 2007 05:10 a.m. Para: Cake PHP Asunto: pers

Re: persistent login

2007-02-04 Thread [EMAIL PROTECTED]
Afaik cake's sessions are always for a limited amount of time. So you will need to write your own system. Using cookies might be the less bad method, but i don't recommend persistent sessions at all. (because of the security issues) (cake has a cookie component btw) --~--~-~--~~--

Re: persistent login

2007-02-04 Thread Sergei
Hmm.. so what? I had read the manual. I don't need database for storing session. On 4 Фев., 20:07, "lukemack" <[EMAIL PROTECTED]> wrote: > >From the manual: > define('CAKE_SESSION_SAVE', 'php'); > > In order to use the database session storage, you'll need to create a > table in your database. T

Re: persistent login

2007-02-04 Thread lukemack
ble can be found in /app/ config/sql/sessions.sql. On 4 Feb, 08:09, "Sergei" <[EMAIL PROTECTED]> wrote: > Hello, > > how to make persistent login with Cake's session component? Or should > I manually create some cookies for this? > > Thank you. --~--~---

persistent login

2007-02-04 Thread Sergei
Hello, how to make persistent login with Cake's session component? Or should I manually create some cookies for this? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Re: Start page with login - URL routing issue - data access to /pages

2007-01-19 Thread clemos
will be : echo $this->renderElement("login",array("error"=>$error)); clemos On 1/19/07, jyrgen <[EMAIL PROTECTED]> wrote: this is how it's currently configured and working, but the more common question remains: which system vars can be accessed in /

Re: Start page with login - URL routing issue - data access to /pages

2007-01-19 Thread jyrgen
this is how it's currently configured and working, but the more common question remains: which system vars can be accessed in /pages and /pages/elements ? the other issue is more url cosmetics, first i see "/" in the browser adress bar, but after unsuccessful login we have &q

Re: Start page with login - URL routing issue - data access to /pages

2007-01-18 Thread Langdon Stevenson
Why not just render the login form on the home page, but submit it to /users/login. If the login fails, then the normal login view handles the error rather than trying to do so in the home page. If login is successful then it redirects to the default login location. Just a thought

Re: Start page with login - URL routing issue - data access to /pages

2007-01-18 Thread Samuel DeVore
when I get home tonight, I'll look at what I did, in the mean time post some of your code in the bin http://bin.cakephp.org/ like the thtml for the login page as well and I'll try to look at it as may some others. Sam D On 1/18/07, jyrgen <[EMAIL PROTECTED]> wrote: nope

Re: Start page with login - URL routing issue - data access to /pages

2007-01-18 Thread jyrgen
nope, i forgot "echo" :-) but: $error is not present in the element. Notice: Undefined variable: error in /var/www/cake/app/views/elements/login.thtml on line 16 how did you solve this ? thx, J --~--~-~--~~~---~--~~ You received this message becaus

Re: Start page with login - URL routing issue - data access to /pages

2007-01-18 Thread Samuel DeVore
you did echo the renderElement part right? On 1/18/07, jyrgen <[EMAIL PROTECTED]> wrote: this didn't work for me.. i've put renderElement('menu_author'); ?> into /app/views/pages/home.thtml and the login element into /app/views/elements/login.thtml but th

Re: Start page with login - URL routing issue - data access to /pages

2007-01-18 Thread jyrgen
this didn't work for me.. i've put renderElement('menu_author'); ?> into /app/views/pages/home.thtml and the login element into /app/views/elements/login.thtml but the form won't show up. i also have $Route->connect('/', array('contro

Re: Start page with login - URL routing issue - data access to /pages

2007-01-18 Thread jyrgen
thanks ! i'll try this out. jyrgen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [E

Re: Start page with login - URL routing issue - data access to /pages

2007-01-18 Thread Samuel DeVore
I use an element to contain my login form and then insert it with $this->renderElement('login'); if the user is not logged in other wise show the 'real' home page content. On 1/18/07, jyrgen <[EMAIL PROTECTED]> wrote: Dear bakers, the start page of my app is su

Start page with login - URL routing issue - data access to /pages

2007-01-18 Thread jyrgen
Dear bakers, the start page of my app is supposed to be a login. my user login view still resides in /views/user/login.thtml. this works fine, but leads to the ugly url /users/login. but i want the login form in home.thtml which resides in /pages. here i have no access to the $error variable

Re: d_auth : login problems

2007-01-16 Thread Steniskis
OOPS!! sorry for the double message, I thought all got lost the first tiem I posted. Jean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups

Re: d_auth : login problems

2007-01-16 Thread Steniskis
Thank you Dieter and Paul, Yes I got the good javascript code. I am thinking, may be the problem comes from the profile creation. Here is my code for add.thtml to add a user: echo $dAuth->loadJs(); echo $dAuth->ErrorMsg($action,$error); if($this->params['bare']): echo $ajax->form('/users/add/',

Re: d_auth : login problems

2007-01-16 Thread Steniskis
Thank you Dieter and Paul, Yes I got the good javascript code. I am thinking, may be the problem comes from the profile creation. Here is my code for add.thtml to add a user: echo $dAuth->loadJs(); echo $dAuth->ErrorMsg($action,$error); if($this->params['bare']): echo $ajax->form('/users/add/',

Re: d_auth : login problems

2007-01-16 Thread Steniskis
Thank you all, Yes Dieter and Paul, I got the right javascript code. I am thinking my problem comes from the part where I create a profile, cause I had first a misconception of the app. Here is the code from add.thtml: url('/users/add/'); echo $dAuth->loadJs(); echo $dAuth->ErrorMsg($action,$err

Re: d_auth : login problems

2007-01-15 Thread [EMAIL PROTECTED]
javascript from the bakery, but characters were missing due to a Bakery markup parsing issue resulting in the login hash being incorrect. Make sure that the implementation of sha1.js is the same as at http://www.movable-type.co.uk/scripts/SHA-1.html Paul well if that's Steniskis proble

Re: d_auth : login problems

2007-01-15 Thread PaulV
characters were missing due to a Bakery markup parsing issue resulting in the login hash being incorrect. Make sure that the implementation of sha1.js is the same as at http://www.movable-type.co.uk/scripts/SHA-1.html Paul --~--~-~--~~~---~--~~ You received this

Re: d_auth : login problems

2007-01-15 Thread [EMAIL PROTECTED]
on the bakery you say " "My problem here is that it is the second hash that is compared with the hash inside the database." can you tell us at which point in the code that happens? (because it shouldn't) --~--~-~--~~~---~--~~ You received this message because yo

d_auth : login problems

2007-01-15 Thread Steniskis
Hello, I have installed d_auth, all works well except with my login. I exposed the details on http://bakery.cakephp.org/articles/view/147 When I login for authentification, the hash from the form and the hash on the database are different : username = ravel password = pavane I get this Real

RE: Can't login to the bakery

2006-12-01 Thread Mariano Iglesias
ginal- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de jinhr Enviado el: Viernes, 01 de Diciembre de 2006 05:14 p.m. Para: Cake PHP Asunto: Re: Can't login to the bakery I also can not log in today. Then used "forget password" to get it reset and log in. Then s

Re: Can't login to the bakery

2006-12-01 Thread jinhr
I also can not log in today. Then used "forget password" to get it reset and log in. Then still can NOT log int with updated new password. sigh... [EMAIL PROTECTED] wrote: > I is the bakery temporarily closed? > > Regards, --~--~-~--~~~---~--~~ You received thi

RE: Can't login to the bakery

2006-12-01 Thread Mariano Iglesias
! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de [EMAIL PROTECTED] Enviado el: Viernes, 01 de Diciembre de 2006 11:52 a.m. Para: Cake PHP Asunto: Can't login to the bakery I is the bakery temporarily closed? Re

Can't login to the bakery

2006-12-01 Thread [EMAIL PROTECTED]
I is the bakery temporarily closed? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Re: othAuth 0.5 problem after login

2006-12-01 Thread 4webby
Cheers guys, I've deleted all the application yesterday! I'll rebuild it and let you know! Do you know about a user registration class/plugin for CakePHP? Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ca

Re: Re: othAuth 0.5 problem after login

2006-11-30 Thread Samuel DeVore
app_model.php On 11/30/06, bingo <[EMAIL PROTECTED]> wrote: > > It seems you are missing unbindAll function...google for "cakephp > unbindAll". Oth has a written a "unbindAll" function. Copy the function > and put in app_controller > > Regards, > bingo > > > > > -- == S. DeVore (the old fart)

Re: othAuth 0.5 problem after login

2006-11-30 Thread bingo
It seems you are missing unbindAll function...google for "cakephp unbindAll". Oth has a written a "unbindAll" function. Copy the function and put in app_controller Regards, bingo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

othAuth 0.5 problem after login

2006-11-30 Thread 4webby
After I login with I get this messages: Notice: Undefined property: User::$Group in C:\www\cake_crag\backend\controllers\components\oth_auth.php on line 1348 Fatal error: Call to a member function unbindAll() on a non-object in C:\www\cake_crag\backend\controllers\components\oth_auth.php on

RE: login/logout - module

2006-11-09 Thread Mariano Iglesias
No problem. Glad to be of assistance. -MI -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de dme69 Enviado el: Jueves, 09 de Noviembre de 2006 06:15 p.m. Para: Cake PHP Asunto: Re: login/logout - module Thanks for your answer and ... Sorry

Re: login/logout - module

2006-11-09 Thread dme69
Thanks for your answer and ... Sorry. On 9 nov, 21:25, "mariano.iglesias" <[EMAIL PROTECTED]> wrote: > Dominique, > > This topic has been covered several times on this group. Try searching > for authentication, login, all words related. For example: > > http:

Re: login/logout - module

2006-11-09 Thread mariano.iglesias
Dominique, This topic has been covered several times on this group. Try searching for authentication, login, all words related. For example: http://groups.google.com/group/cake-php/search?group=cake-php&q=authentication&qt_g=1 You will see it yields quite a number of related topics.

login/logout - module

2006-11-09 Thread dme69
Hello all, I'm quite new to cakephp and i want to know if there is a module to add a login/logout function tp my application ? Thanks for your help. Dominique. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: Login through HTTPS on CakePHP

2006-11-01 Thread mariano.iglesias
this->output($url, $return); } } return parent::url($url, $return); } function _in_ssl() { return (isset($_SERVER['HTTPS']) && strcasecmp($_SERVER['HTTPS'], 'on'

Login through HTTPS on CakePHP

2006-10-23 Thread Mariano Iglesias
Hi fellow bakers,   I have an element where I have the following ($layout_texts reffers to an array of text elements, such as $layout_texts['top.menu.user'] = 'User', obtained through PEAR Translation2 package):   formTag('/account/login'); ?>:input(&#

Re: Using login page as homepage

2006-10-01 Thread John Zimmerman
On 10/1/06, ski.nalicio.us <[EMAIL PROTECTED]> wrote: Thanks Olle.What I had was:check(' Message.flash')) $session->flash(); ?>I have now changed it to:flash(); ?>This works on my login page that has been routed to show up as the very first page of my domain.All other

Re: Using login page as homepage

2006-10-01 Thread ski.nalicio.us
Thanks Olle. What I had was: check(' Message.flash')) $session->flash(); ?> I have now changed it to: flash(); ?> This works on my login page that has been routed to show up as the very first page of my domain. All other pages like edit, view and delete are scaffolded

Re: Using login page as homepage

2006-10-01 Thread olle
The flash messages, to output them, you place this in a view or layout: flash(); ?> Or, place the output in a DIV: flash() ?> That way, you have more control over what goes on there. (Geek notes: $session is a View variable that is populated by default in Cake. $session is a reference to Sess

Re: Using login page as homepage

2006-10-01 Thread kristian
Thanks for your help John, that worked fine. Is there any disadvantage to doing it this way as apposed to doing it the previous way? One thing that did confuse me a little though was that when I created my own layout in 'views/layouts' was that the flash messages no longer appeared; not even the

Re: Using login page as homepage

2006-09-30 Thread John Zimmerman
Controller:  http://cakephp.org/pastes/show/4d62e69e76b4941adda163d6d02d1145View: http://cakephp.org/pastes/show/6e1a9161f37462791f5f1745f61581fbI changed it to use session flash messages instead of the error check you were using.  The redirect you wanted to do lost the variables passed to the vie

Re: Using login page as homepage

2006-09-30 Thread kristian
Sure, here goes. users_controller.php: http://cakephp.org/pastes/show/4d62e69e76b4941adda163d6d02d1145 login.thtml: http://cakephp.org/pastes/show/6e1a9161f37462791f5f1745f61581fb Thanks very much :o) --~--~-~--~~~---~--~~ You received this message because you

Re: Using login page as homepage

2006-09-30 Thread John Zimmerman
php to redirect to '/' if username and orpassword doesnt match.  If i remove this redirect (like in thetutorial) the URL shows "/users/login" if wrong username and or passwor is entered and, error message is displayed.How could I send the user back to "/" and pa

Re: Using login page as homepage

2006-09-30 Thread kristian
r password doesnt match. If i remove this redirect (like in the tutorial) the URL shows "/users/login" if wrong username and or passwor is entered and, error message is displayed. How could I send the user back to "/" and pass/display the error massage from the users_controll

Re: Using login page as homepage

2006-09-30 Thread John Zimmerman
On 9/30/06, kristian <[EMAIL PROTECTED]> wrote: Thanks for the reply John; however it doesnt work as I expected!I came up with this:$Route->connect('/', array('controller' => 'pages', 'action' =>'display', '../users/login'

Re: Using login page as homepage

2006-09-30 Thread kristian
Thanks for the reply John; however it doesnt work as I expected! I came up with this: $Route->connect('/', array('controller' => 'pages', 'action' => 'display', '../users/login')); This now displays my login page using:

Re: Using login page as homepage

2006-09-29 Thread John Zimmerman
You can set this up by modifying the entries in /app/config/routes.phpIf you take a look at the entries there it should make sense about what you should do (there is an entry routing "/"). --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Using login page as homepage

2006-09-29 Thread kristian
and URL looks like this: http://www.mydomain.com/cake/users/login I wanted to have the login page as the very first page the user comes to (in development mode): http://www.mydomain.com/cake Of course I want it to work the same way when it goes into production/live: http://www.mydomain.com/ How wou

Re: Re: Login renders blank page!

2006-09-18 Thread Samuel DeVore
http://www.xs4all.nl/~mechiel/projects/bomstrip/ has versions of the same thing in a ton of languages (not php thought ;) for utf8 you could do this probably if you have sed sed -i -s -e '1s/^\xef\xbb\xbf//' On 9/18/06, DJ Spark <[EMAIL PROTECTED]> wrote: > > I had the same problem here, wit

Re: Login renders blank page!

2006-09-18 Thread DJ Spark
I had the same problem here, with BOM bytes added to some files. Just to keep people aware, it ate my doctype declaration, thus, changing the way browsers interpreted the page, changing font sizes and all, paddings, etc. really weird. I had to open every file, since I didn't knew wich ones whe

Re: Login renders blank page!

2006-09-16 Thread [EMAIL PROTECTED]
Also, exit() isn't the recommended method to quit processing a method in CakePHP. If you were to do this there is code after the redirect that could be executed. Not to mention the CakePHP cleanup. Case in point would be a redirect for a user to a page after he deletes something while the delet

Re: Login renders blank page!

2006-09-16 Thread Baydel
Hi, Many thanks, CASE issues, you are right. The controllers are working now but i still have an issue with login and handling session I noticed that pages that should redirect users to a login page if not logged in does not come up, I have a validatesessioncheck method in my appcontroller

Re: Login renders blank page!

2006-09-16 Thread AD7six
Hi Baydel, Have you checked the case of your files? Give your subscription model files is named "Subscription" emphasis on the 'S', I would guess your home controller file is named "Home_controller.php" - you need everything lower case. The session error is caused by the space you have at the be

Re: Login renders blank page!

2006-09-16 Thread Baydel
Hi, When DEBUG is set to 1 i get the follwing errors Missing controller You are seeing this error because controller HomeController could not be found. Notice: this error is being rendered by the app/views/errors/missing_controller.thtml view file, a user-customizable error page for handling in

Re: Login renders blank page!

2006-09-16 Thread AD7six
Hi Baydel, set Debug to > 0 in /app/config/core.php and read the 1) more descripive error message and 2) (otherwise hidden) error message. That would be the first thing to check for anyway ;). Cheers, AD7six --~--~-~--~~~---~--~~ You received this message beca

Re: Login renders blank page!

2006-09-16 Thread Chris Hartjes
On 9/16/06, Baydel <[EMAIL PROTECTED]> wrote: > > $this->redirect('/'); > } I may be wrong, but shouldn't you also be doing an exit() after the redirect request? Or even better, redirect people to a controller/action pair upon successful authentication? -- Chris Har

Login renders blank page!

2006-09-16 Thread Baydel
, but the two listed below have proved so stubborn: 1. some of my controllers could not be found yet they exist and work well in the development platform. I keep getting the error 'Not found The requested address index was not found on this server.' 2. My login renders a blank page when

Re: What is the best ajax user login solution?

2006-08-15 Thread nate
Check out rdBloggery, that has an Ajax login for posting comments: http://cakeforge.org/projects/rdos/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email t

What is the best ajax user login solution?

2006-08-15 Thread cyberlogi
Hi, i've been looking through the different resources off the cake website and around the web over the past week, and i haven't been able to find an elegant ajax user register. I just have 4 fields: email, username, password, confirm. Confirm is not in my data model which has given me some grief.

Re: newbie:othAuth: how to login from a page with a non Admin group?

2006-08-06 Thread CraZyLeGs
the group_id creates the notion of POL, point of login, so for exemple you can have multiple login forms in your app but there are forms you don't want a group to use etc.. the new version will handle this much better --~--~-~--~~~---~--~~ You received

Re: newbie:othAuth: how to login from a page with a non Admin group?

2006-08-05 Thread gmwebs
Thanks CraZyLeGs, you pointed me in the right direction. I have now amended my login action to this... function login() { if(isset($this->params['data'])) { $user_data = $this->params['data']['User'];

Re: newbie:othAuth: how to login from a page with a non Admin group?

2006-08-05 Thread CraZyLeGs
this is not a bug! yes by default othAuth accepts group_id = 1 you need to have [User][group_id] set in the array you pass to the login method this can come from a selectTag in the form, a hidden field or set manually in the login action before calling othAuth's login m

Re: newbie:othAuth: how to login from a page with a non Admin group?

2006-08-04 Thread gmwebs
Hi, I am also having this problem... I can login with Admin and everything works, but as soon as I try with a user I created, it just sits there and does nothing after clicking login. Any news on this? Regards, Graham --~--~-~--~~~---~--~~ You received this

Re: newbie:othAuth: how to login from a page with a non Admin group?

2006-08-04 Thread Siegfried Hirsch
on my CakePhp app, and I have configured two > groups in my application: admin (group id=1) and member (group id=2). > > I have the following problem: in the login page I can only > login with the Admin user, if i try to login with a member user > I receive the message wrong user/pa

newbie:othAuth: how to login from a page with a non Admin group?

2006-08-04 Thread michele
Hello, I installed othAuth on my CakePhp app, and I have configured two groups in my application: admin (group id=1) and member (group id=2). I have the following problem: in the login page I can only login with the Admin user, if i try to login with a member user I receive the message wrong

Re: redirect to login page

2006-07-17 Thread AD7six
le to get the referrer of the referrer... So it´s to know where to go after a successful login. At least that´s why I used it in that way in the past ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: redirect to login page

2006-07-17 Thread [EMAIL PROTECTED]
I think it should be like this http://localhost/Trans2/users/login/name/action and your method will take 2 parameters, like so: login($name = null, $action = null){ //login code if($authorized) $this->redirect("$name

Re: How do I create a login element

2006-07-11 Thread John Zimmerman [gmail]
Sorry.  That should have been /app/views/elements/login.thtmlOn 7/11/06, John Zimmerman [gmail] <[EMAIL PROTECTED] > wrote:I just created a form in /app/elements/login.thtml with a username box and a password box with a "login" button. I conditionally check to see if the user is

Re: How do I create a login element

2006-07-11 Thread John Zimmerman [gmail]
I just created a form in /app/elements/login.thtml with a username box and a password box with a "login" button.I conditionally check to see if the user is logged in within my element to display the current name of the logged in user with a logout button. if($this->controller-&g

Re: How do I create a login element

2006-07-11 Thread John David Anderson (_psychic_)
On Jul 11, 2006, at 6:44 PM, codecowboy wrote: > > Hi, > > I have followed the instuctions in chapter 21 of the manual to > create a > user authentication system. I have that system completely working. > > I want to create a login element that functions the same way.

How do I create a login element

2006-07-11 Thread codecowboy
Hi, I have followed the instuctions in chapter 21 of the manual to create a user authentication system. I have that system completely working. I want to create a login element that functions the same way. This way, I can place the login element in the left column of my layout. The problem

redirect to login page

2006-07-10 Thread rpetrain
When I get redirected to login page from the page that I was trying to view it looks like this: http://localhost/Trans2/users/login/?from=admin/ Is that what is should look like? Should the params being handed to the page look like that

Re: Multiple databases for login - How To?

2006-07-05 Thread gwoo
routes.php which could be pointed to the login page. The blog tutorial has an example of how to change the default route. Good luck. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post

Multiple databases for login - How To?

2006-07-05 Thread theman
I have a couple questions. 1. I have a company table that holds a company name, databasename, databaseuser, and password. When a person tries to login they use 3 fields. Company Name, Username, and Password. I look up the Company Name record in the company database and if it exists I continue

Change user last logon time upon login

2006-05-18 Thread ewvic
Hello, I'm new to CakePHP. I tried searching for "user last logon" or "last access" in this group, but I don't see any relevant post. Apologies if I didn't read carefully enough! Question: What's the easiest way to change a field such as "lastlogon

Re: Extending the blog tutorial to include login?

2006-05-08 Thread hydra12
AD7six, I'd be glad to share what I have. I'm fixing a few bugs in it, but I'll try to post it soon and let you know. Yours was nice . . . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post

Re: Extending the blog tutorial to include login?

2006-05-07 Thread Mika
For an example of it check rdBloggery from http://cakeforge.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from t

Re: Extending the blog tutorial to include login?

2006-05-07 Thread guice666
Samuel DeVore wrote: > I think the plan for the cake bakery tutorial is to include this. > > https://trac.cakephp.org/wiki/BuildingCakeBakery > That is the plan, but unfortunately many people needed this functionality 3 months ago. And as it stands, the Bakery hasn't been updated for the last 2 m

Re: Extending the blog tutorial to include login?

2006-05-06 Thread AD7six
alled for all controllers - careful to still give the user a chance to access the login page if you do this ;) ) Hydra12, I'm curious if there are any benefits we can glean from each other's code with regards to the Ajax chat example. Comments welcome, AD7six --~--~-~--~~

Re: Extending the blog tutorial to include login?

2006-05-06 Thread hydra12
t, it redirects to my /users/index controller to make them login. At login, it sets the Users.username session variable, then redirects back to /messages/index. I have it set to check this every time anything happens. I don't have the code with me (it's on my work laptop), but I can po

Re: Extending the blog tutorial to include login?

2006-05-05 Thread Samuel DeVore
;ve gotten as far as writing a> small script to determine whether or not a user's login credentials are> any good, but when it comes down to making this persistent among my > pages I'm pretty lost!>> If anyone knows of a tutorial like this, or can explain to me how I> w

Re: Extending the blog tutorial to include login?

2006-05-05 Thread Carlos Mauricio Samour
I would like help in what skills should I learn before building a login authentication features in my cake apps. Thanks! On 5/5/06, roberts.sean <[EMAIL PROTECTED]> wrote: > > The blog tutorial was great, but I think it left out a crucial step: > securing it from malicious users w

Re: Extending the blog tutorial to include login?

2006-05-05 Thread John Anderson
tute isn't a real application, but a tool for teaching folks about Cake. > Does anyone know of a tutorial that extends the blog tutorial to > include a minimal amount of security? I've gotten as far as writing a > small script to determine whether or not a user's login cr

Extending the blog tutorial to include login?

2006-05-05 Thread roberts.sean
r own user authentication setup. The rdAuth tutorial in the Wiki was confusing at best. Does anyone know of a tutorial that extends the blog tutorial to include a minimal amount of security? I've gotten as far as writing a small script to determine whether or not a user's login cred

Re: Multi user login

2006-05-05 Thread CraZyLeGs
othAuth the latest version: othy.wordpress.com/2006/04/28/othauth-01-is-about-to-be-released/ best Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake

Re: Multi user login

2006-04-16 Thread Mika
Check rdBloggery for an example of this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Multi user login

2006-04-15 Thread brandags
I just wrote my own using sessions. Create a users table with username and password. When they submit the form to the Users::login function, check to see if the username and password match, and if so, log them in: $this->Session->write('loggedIn', true); $this->Session->wri

Multi user login

2006-04-14 Thread Vixiom
I've been poking around the manual/docs and the google cake group and there doesn't seem to be one way of logging users in/out. I want to make a multi user login (open to the public) that let's you only see your account info. I saw someone made a component for pear auth is that th

<    9   10   11   12   13   14