Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

When does session id get set?


damo2576

Recommended Posts

Posted

Hi,

 

It appears to me that the session id doesnt get set when a user first come to index.php?

 

Is that correct?

 

It seems that it gets set once a user clicks on any link within the site?

 

Anyone know if thats the case?

 

Thanks in advance,

 

Damo

Posted

You can verify this yourself by adding:

 

<?php

$test = tep_session_id();

echo $test;

?>

 

To your footer.php in catalog/includes

 

You will see that it only shows once you click on a link.

Posted

application_top sets session

 

why ?

Your online success is Paramount.

Posted

Hi,

 

Thanks, I know it gets set there I was more wondering why it doesnt get set when you first enter the site - it seems to only get set once you click on a link within the site.

 

I'm asking because I'm trying to fix the user tracking contribution - it shows all hits on the index page as one user with no session id.

 

Any ideas?

 

Thanks,

 

Damo

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...