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: ...
user avatar
  • 423
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 ...
user avatar
  • 2,418
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 ...
user avatar
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/...
user avatar
  • 5,353
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 ...
user avatar
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 ...
user avatar
  • 3,572
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 ...
user avatar
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 ...
user avatar
  • 572
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 ...
user avatar
  • 5,781
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)
user avatar
  • 5,781
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['...
user avatar
  • 267
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 ...
user avatar
  • 7,176
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']...
user avatar
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
user avatar
  • 7,176
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 ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible