2 of 2
2
Stand alone entry forms without being logged in
Posted: 25 February 2009 04:34 PM   [ Ignore ]   [ # 19 ]  
Grad Student
Rank
Total Posts:  73
Joined  01-19-2008

Hi Ben,

I have a site with members access only. Members login at another ‘co-site’.
Entering the part of the site driven by EE I provide logmein with username from the ‘co-site’.
Both sites have the same usernames. I disabled the anonymous login. When using ‘User Session Type’ with ‘cookies and session-id’ all works fine. I cannot use ‘session_id’ as it conflicts the ‘co-site’.
However when setting ‘User Session Type’ to only ‘cookies’ my members of the EE driven site are automatically logged-in after closing the browser, even the next day. It’s not safe.
I guess this is something in the twilight of logmein and EE but I need a direction where to look. Has EE or logmein the ‘remember me’ option activated and how can I disable that?
Or is it possible to change the setting of logmein so that users are always logged out after, say, two hours of inactivity.

Profile
 
 
Posted: 18 May 2009 03:21 PM   [ Ignore ]   [ # 20 ]  
Grad Student
Rank
Total Posts:  73
Joined  01-19-2008

This topic is hot for me now. Any suggestions?

Profile
 
 
Posted: 18 May 2009 03:57 PM   [ Ignore ]   [ # 21 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  250
Joined  09-29-2007
ron00nor - 18 May 2009 03:21 PM

This topic is hot for me now. Any suggestions?

you can set the expiration time to whatever you want:

{exp:logmein:now username="priveleged_guest" expire="300"}

The expire parameter is optional and sets the expiration time in seconds of the cookie. So in the example above the user will be logged in for only 5 minutes. The default value is 1 day.

 Signature 

* Get FireMail for EE 2.0 and manage and track emails in real-time. Get the Sitemap Module and improve your site’s SEO

More Add-ons: Multi Language, Exchange Rates, Stand-Alone Image Editor, Landing Page, iWebApp, LogMeIn, Loop Plugin, Session Variables

Profile
 
 
Posted: 19 May 2009 04:40 PM   [ Ignore ]   [ # 22 ]  
Grad Student
Rank
Total Posts:  73
Joined  01-19-2008

Hi Ben,

The expire parameter is set to 43200.

{exp:logmein:now username="{embed:ee_username}" expire="43200"}

but seems to do nothing because when the user closes his browser, then the next day the user is automatically logged in.
Do you know if EE has a general setting for automatic login?

UPDATE 2009-05-23:
I did a bit of testing and this showed that logmein is working perfect as it should. Something else is messing up.

Profile
 
 
Posted: 25 January 2010 09:25 AM   [ Ignore ]   [ # 23 ]  
Grad Student
Rank
Total Posts:  82
Joined  07-27-2009
CimexMedia - 18 December 2008 08:17 AM

Has anybody encountered problem with browsers other than Firefox ?

In Firefox, when I use {exp:logmein:now username=“website_user” expire=“300”}

I get the following cookies :

exp_anon          
exp_userhash    
exp_uniqueid    
exp_expiration


But I don’t with Opera, Safari, IE, etc… And therefore, my SAEF submission fails with : “You must be a logged-in member of this site in order to perform this action”

Has anyone encountered this before ?

Thanks

—EDIT—

Sorted, it had nothing to do with the plugin but the webserver time was off and the cookies were sent to the browser with a stale expiry date (oddly Firefox didn’t mind…)

I should note, I had this exact same problem but I was able to fix the issue by setting the Optional Cookie Domain setting located at

CP Home ›  Admin ›  System Preferences ›  Cookie Settings

hope this helps anyone else with this problem

strange why fireox has no issues. and apologies for the thread necro

Profile
 
 
Posted: 26 January 2010 08:26 AM   [ Ignore ]   [ # 24 ]  
Summer Student
Avatar
Total Posts:  1
Joined  01-26-2010

such a great idea, looking forward for that..

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120007 Total Logged-in Users: 96
Total Topics: 126139 Total Anonymous Users: 73
Total Replies: 663537 Total Guests: 467
Total Posts: 789676    
Members ( View Memberlist )