Where is session_start()?

I am wondering where the php session_start() function call is located within the scripts. The reason I need to know is because I am trying to integrate jCart ( http://conceptlogic.com/jcart/install.php ) with Dolphin 7 and part of the integration states that I must include the following script on every page on which I want to display the shopping cart:

<?php

// INCLUDE JCART BEFORE SESSION START
include "jcart/jcart.php";

// START SESSION
session_start();

// INITIALIZE JCART AFTER SESSION START
$cart =& $_SESSION["jcart"]; if(!is_object($cart)) $cart = new jcart();

?>

Maybe I just need to know what php script is called by every page on my Dolphin 7 site, then I can put this code there.

Thank you for your help.

Quote · 28 May 2010

root/inc/header.inc.php  might be a good place to start looking ?

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 28 May 2010

As far as i know, php sessions are not used by dolphin. So you won't find a session_start() anywhere.

https://www.deanbassett.com
Quote · 28 May 2010

well there you have it then  :)

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 29 May 2010

Thanks for your response, deano. If it does not use php session then how does it manage sessions, especially when a user is logged in? I'm not doubting you, but ver curious as to how these sessions are being managed.

Thanks dolphin_jay, I am looking at the file you mentioned right now.

Quote · 29 May 2010

there is no session for the logged in users, that is why users appear to be online for xx minutes even after they have logged out.

Thanks for your response, deano. If it does not use php session then how does it manage sessions, especially when a user is logged in? I'm not doubting you, but ver curious as to how these sessions are being managed.

Thanks dolphin_jay, I am looking at the file you mentioned right now.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 29 May 2010

Dosdawg,


I understand there is no session being kept for logged in users. However, how does the system know when a user is logged in from page to page on the site? There might not be a PHP session being kept, but there must be some other type of session nonetheless. I am very curious about how Boonex maintains sessions.

Quote · 1 Jun 2010

It's done with a cookie. When a member logs in a the cookie memberID is set to match their member id. The cookie remains until the browser is closed. Cookie is removed if they manually logout.

Dolphin determines if the member is logged in on each page by either checking the cookie, or calling the islogged function which basically just checks the cookie.


https://www.deanbassett.com
Quote · 1 Jun 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.