Questions tagged as 'session'

1
answer

Why is the data disappearing when refreshing this page?

While I use this filter to search real estate, everything goes well but at the time I refresh the page, the checkbox causes the search to disappear. It undoes all session or at least it gives an error in the filter that does not...
asked by 01.01.2016 / 21:03
2
answers

Smart Session with CodeIgniter

I have an application developed with CodeIgniter, PHP and MySQL. The user session has always been treated according to the CodeIgniter standard, but now I need the session to be more restrictive, working in a similar way to an internet banking s...
asked by 24.10.2014 / 15:12
3
answers

Find joomla session variables for php

A client has a site made in joomla, and I have to integrate the login that it does on your site to my site in php. But I do not know how to get the joomla session variables. How can I get them? Or how can I see their names?     
asked by 28.08.2014 / 15:47
1
answer

Variable storage in PHP - $ _SETION x $ _GET [closed]

Hello friends. I have a question about good practices applied in development: What would be the best way to store temporary variables in an application? I have a PHP application where I can edit users, where I just click the link and it direct...
asked by 26.01.2017 / 14:01
2
answers

Block pages via url

The restricted page is blocked for url access, but I want to leave the warning on the login screen. For example: when entering the address of the business page.php in the url, the system directs to the login screen and displays the message LOGIN...
asked by 24.05.2017 / 02:19
2
answers

How to ensure that a SESSION expires if the user accesses a copy of the application that is in another directory

I have an application in php where I use sessions to control the login. The application is in myite.com/minhaApp (I'll call App1) It happens that for testing I've created an instance of my application in another directory. mysite / otherDir /...
asked by 24.07.2016 / 00:30
1
answer

Session in PHP using class

Hello, I'm new to PHP and would like to know how to create a class to manage the user session. It would be a function to start the session and another to destroy the session. If you have how to create, how could I be doing this?     
asked by 19.12.2015 / 20:24
1
answer

Subscribe to a php session

When the user accesses the details page of the property on my site, I need to store the broker's email in a session, and when he sends the proposal form, the broker's email is sent to the file responsible for triggering email in input hidden, I...
asked by 25.08.2015 / 21:47
1
answer

How to save data temporarily with good practices?

I have only one page where all the scripts are, when a user clicks on a certain data, it would redirect it to a specific script and I had to save this data (which he clicked) to be able to put in a case he wanted to edit this data later. To d...
asked by 24.02.2015 / 12:43
2
answers

php Page Protection

I found a tutorial on how to make a login system ... More problem is that when I try to block the pages only for the login of users logged in does not work although the user is logged in, I think the error is in the page functions.php when the s...
asked by 12.09.2014 / 16:11