1
Good morning !
I have a question about Session. For example, I am developing a system where I have 3 environments. The first is the virtual store environment and the other two environments are virtual type offices, Resellers and Retailers. These last two are restricted areas. So, do I need to create a session for each of these environments when the various users access it? That is, each user needs to generate a single session at each access, after I destroy it? For example, I am facing a problem in my shopping cart. The online store contains a shopping cart. When closing, I need to destroy the session, but when I finish my shopping cart and generate the.pdf invoice, then I destroy the session, but it doesn’t destroy it.
With respect to the shopping cart I’m doing so:
cart.php - where create the session
Destroying the cart session after generating invoice.pdf: Still inside the cart.php file //destroying the Session cart... include ("destroi_sessao_carrinho.php");
file: destroi_sessao_carrinho.php
I need a light. where I’m going wrong. Thanks in advance.
this file destroi_sessao_carrinho has what inside?
– Wees Smith