Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Tracks on a web host  >  Thread
   
 
tracks
 
hgupta3
Posted: 30 June 2006 12:03 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  8
Joined  2006-06-29

Is there a way to have Tracks remained logged in if accessed from the same computer?  I would like it to use it as my home page, but I don’t like having to log in every time I open my browser.

Profile
 
myles
Posted: 30 June 2006 01:37 PM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  6
Joined  2006-06-28

Go into the controllers and delete all lines containing the following:

prepend_before_filter :login_required 

That should do it.

Profile
 
hgupta3
Posted: 30 June 2006 05:24 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  8
Joined  2006-06-29

I went into each of the files in the controller directory and searched “prepend”, but didn’t find anything.  Am I looking in the right place?

Profile
 
myles
Posted: 30 June 2006 06:06 PM   [ Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  6
Joined  2006-06-28

/app/controllers/ Directory

Note this may or may not work just an idea


From TRUNK: /app/controllers/context.rb

class ContextController < ApplicationController

  helper 
:todo

  prepend_before_filter 
:login_required 

From 1.041: /app/controllers/context.rb

class ContextController < ApplicationController    
  helper 
:todo

  before_filter 
:login_required 

So to recape remove

befor_filter :login_required 

if you are using 1.041.

Profile
 
bsag
Posted: 30 June 2006 06:11 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  217
Joined  2006-03-05

If you check the ‘Stay logged in’ checkbox in the login page, you shouldn’t need to do any of this. I’ve just checked with Safari, and if I quit Safari without logging out, then restart restoring the same tabs, Tracks is logged in.

Note that if you have Tracks running on a public server (rather than your own machine), you really shouldn’t get rid of the login, because anyone stumbing across your page will be able to access and edit your actions.

Profile
 
myles
Posted: 30 June 2006 06:12 PM   [ Ignore ]   [ # 5 ]  
Newbie
Rank
Total Posts:  6
Joined  2006-06-28
bsag - 30 June 2006 06:11 PM

If you check the ‘Stay logged in’ checkbox in the login page, you shouldn’t need to do any of this. I’ve just checked with Safari, and if I quit Safari without logging out, then restart restoring the same tabs, Tracks is logged in.

Note that if you have Tracks running on a public server (rather than your own machine), you really shouldn’t get rid of the login, because anyone stumbing across your page will be able to access and edit your actions.

And you would only be allowed one user.

Profile
 
hgupta3
Posted: 30 June 2006 06:28 PM   [ Ignore ]   [ # 6 ]  
Newbie
Rank
Total Posts:  8
Joined  2006-06-29

On windows, it seems that when you close firefox or explorer, you have to login again.  I use tracks on a public server, but I think it would be terrific if the computer that I use daily could remain logged in just like it does when I go to gmail.

Also, I never really figured out the benefit of having multiple users in a GTD system.  Is that for offices that share tasks?

Profile
 
bsag
Posted: 01 July 2006 01:47 PM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  217
Joined  2006-03-05

Hmm, it should keep you logged in. The session data (i.e. your user id is stored in the database itself). I’m not sure why it doesn’t work on Windows.

The multiple users were added because people asked for it. At the moment, it’s a convenience measure: quite a few people have accounts for friends, family or co-workers, without having to have separate installations. Eventually (quite a long way in the future) there might be more interaction possible between users.

Profile
 
   
 
 
     Installing on Godaddy ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.1 (20081028)
Script Executed in 0.1315 seconds

Atom Feed
RSS 2.0