Questions tagged [sessions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
145 views

Get member id in ExpressionEngines session hook

How do I get the member id of the current user in my extension when I'm in the session_start hook? ee()->session->userdata('member_id'); Obviously doesn't work; this gives me a server error.
0
votes
1answer
142 views

How to log/view all frontend login sessions?

Does EE stores all frontend login actions somewhere? Checking in Control Panel > Tools > Logs > Control Panel I can see it lists all users that have logged into the CP but not the ones logged in ...
0
votes
1answer
498 views

How to disallow characters in URL titles

We recently ran into an issue with some of our auto-generated URL title on channel entries. It seems that EE will happily allow characters like periods in URL titles. For example if I had a tile like ...
0
votes
2answers
539 views

Session ID of user not logged in

I need to record some data in the database for a user in the session (a custom add-on) and I'd been using the value returned from PHP's session_id() method, which works well enough. When the user ...
0
votes
1answer
67 views

Automagically or force logout after 60 seconds

I have an EE3x site that is running User, Cartthrob, Transcribe, CE Cache (there is a lot going on) and I need a way to be able to automagically log-out users after 60 seconds of inactivity. The ...
0
votes
1answer
35 views

Strange URL parameter added on login

I'm seeing an issue where I login on the frontend and the URL becomes S=c3992270d168f3ec9ab1df5bc06afce3/test where test is the segment I'm passing from the return parameter. I can't fathom where the ...
0
votes
1answer
294 views

Setting a global session cookie path

I'm seeing PHPSESSID set at /members/ when I have $config['cookie_path'] = '' (also tried $config['cookie_path'] = '/'). Shouldn't this config ensure all session cookies are set at the root path? I'...
0
votes
1answer
116 views

User not logged out when browser closed

This is on EE 2.10.1. Website Sessions are set to Cookie Only. $config['sess_expiration'] = 1440; $config['sess_expire_on_close'] = TRUE; phpinfo() reports session.gc_maxlifetime of 1440; User ...
0
votes
1answer
102 views

Disabling the session tracker for non HTML templates

I have a problem with DevDemon FreeMember where it relies on the native EE session tracker array (https://ellislab.com/expressionengine/user-guide/development/usage/session.html#tracker-array) to ...
0
votes
2answers
221 views

Transcribe - After AJAX request, when i switch language it directs me to the AJAX endpoint

So using - Transcribe 1.5 and EE 2.6 Basically when i have channel information outputting to json within ee, when another page is requesting this via ajax, transcribe redirects to the translated json ...
0
votes
0answers
56 views

Is it safe to initiate a temporary session in plugin for use with the Channel Entries API?

I have a plugin that will accept posted form data from a member group and then create or update a channel entry which that member group is not given permission to post or update in (via the control ...
0
votes
1answer
329 views

Managing user session length in EE 2.8 +?

Recently upgraded to EE 2.8.1 and was worried about some things discussed in this thread. Prior to EE 2.8 we were able to use the user_session_ttl config to set the user's session to whatever ...
0
votes
1answer
52 views

show cartthrob packages product in front end

I want to show cartthrob packages in front-end after login when i login i am not able to see product which are used to add in packages shown in below image Its work when we have logged in from back-...
0
votes
1answer
151 views

Login User without a password

So I'm attempting to create a small plugin/module where I can log in a user with the need to have a password, login with Facebook basically (Yes, I know there is a plugin that does all this). I was ...
-2
votes
1answer
44 views

How can I tell EE NOT to Cache a Session Variable

Firstly, I am new to ExpressionEngine. I am using this "session variables" plugin: https://devot-ee.com/add-ons/session-variables-plugin The templates are being cached (with Mustash) and it is ...

1
2