6
votes
Accepted
Cartthrob not saving items to cart in Chrome (not Firefox)
I discovered the problem. We were using CartThrob's fingerprinting for sessions with the configuration set to "0" for the default fingerprinting method. The default method creates the fingerprint as:
...
2
votes
Accepted
how can i get ee global vars outside of ee?
Well the short answer is you can'tshouldn't easily, it raises all sorts of questions regarding the security model!
However there may be alternatives. You could for instance write an extension for EE ...
2
votes
Custom data in user sesstion
Remember Me
Save entries for a user during a session. This could be used for a
'add to cart' function or for a 'product compare' function (save
entry_id's for later use). Entries are only ...
2
votes
Get member id in ExpressionEngines session hook
First initial thought is: can you use sessions_end hook instead?
Looking at the Session.php code for where the session_start is fired, this hook kicks in before the user data is set from the cookie/...
2
votes
Accepted
Database error 1054 after upgrade to ee 2.11.6
The "Fingerprint field" is missing in DB.
Go to Database to trigger this query.
ALTER TABLE `exp_sessions` ADD `fingerprint` VARCHAR( 40 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL AFTER ...
2
votes
First Visit Alert And Latest Updates For Non Members
To be able to do this at all EE would need to know information about past browsing behaviour of your visitors. This in turn would require you to either record information about the visit in the EE ...
1
vote
$_SESSION Variable in EE
Well, you can use flashdata to achieve your requirement. For this please follow below syntax.
To set the Flashdata:-
ee()->session->set_flashdata('your_key', 'your_value');
To get the ...
1
vote
Accepted
DataGrab fails if not run from EE Control Panel (logged in)
I was running into this issue as well, I don't know if this will resolve your issue.
It tries to create a session for a member with a member_id of 1, do you have a member with an id of 1 that belongs ...
1
vote
Accepted
How to log/view all frontend login sessions?
Control Panel Logs is existed not just to show logged users but logged all critical activities(not only login) in CP. EE keeps this records in _cp_log table.
For front-end is not such functions from ...
1
vote
Set Session Timeout on Front End of site
You can try Stay Up Forever
It call "Forever", but based on code you can setup any session timeout in extension settings (for cpanel or/and user)
1
vote
How to disallow characters in URL titles
Pop open your config file: /system/expressionengine/config/config.php
Look for a config option for 'permitted_uri_characters' - if you don't have it, you can add the line:
$config['...
1
vote
MSM Limitations
Yes this is the right way. Performance will be the same, or similar, as if you had the same amount of traffic going through one website.
To be cautious you could try scaling up to the full 20 ...
1
vote
Session ID mode and internal links
Have you tried outputting the session > userdata > fingerprint on the template. I've used this in addons to recreate the session ID in the control panel.
ee()->session->userdata['fingerprint']...
1
vote
EE Session and cURL
This my be useful to you, it describes how to use cURL with session cookies
https://stackoverflow.com/questions/13020404/keeping-session-alive-with-curl-and-php
1
vote
EE Session and cURL
So far as I'm aware you will need to do something special, Max alluded to being able to set a cookie. Without doing so your cURL request is seen as a totally separate session since it's initiated by ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sessions × 65cookies × 15
login × 11
cartthrob × 6
ee2 × 5
control-panel × 5
logout × 5
members × 4
hook × 4
security × 4
add-on-development × 3
database × 3
url × 3
templates × 2
error × 2
plugin × 2
upgrade × 2
ee2-upgrades × 2
ajax × 2
shopping-cart × 2
admin × 2
global-variables × 2
channel-entries × 1
solspace-freeform × 1
matrix × 1