I am making my application for login on Facebook, however it returns with GET in url ?code=etc...
Before it was working normally, I use Facebook's class . See:
$facebook = new Facebook(array(
'appId' => APP_ID,...
To invalidate a session, my teacher passed the following code:
HttpSession session = request.getSession(false);
if (session!=null){
session.invalidate();
}
But after logout, when I click Back in the browser, I can retrieve...
I'm having a problem logging out my system until it is logging out correctly and destroying the sessions, but if the user clicks the back button of the browser it returns to the previous page of the system where all data is displayed again . The...
I made a View to send to a client, but I can not pass the general login and password for it. That way I created a user ( cliente_view ) and I would like it to only view the created View (sales_view_view).
How to do this process...
I saw that in the documentation it indicates the is_authenticated method as being responsible for telling the templates if there is a logged in user. I also saw in the method code that it contains only the following:
def is_authenticate...
I need to create a fun system that uses a validation (user, password). I have experience with WebForm, I have already studied a bit of MVC but I still do not feel safe to create a complete application with MVC.
For the validation I thought...
First time here, I got a code ready adapted for my college work, however the login does not verify, accept anything that you put.
Create login
<div id="nav">
<div id="sup_direito">
<div id="login">...
I am developing a system in which it is accessed with the login and password, once logged in the user has the option to log out, below my script:
if(isset($_SESSION['logado'])){
session_destroy();
header("Location:index.php");
}
I w...
Hello! Following a tutorial I created an app that includes registration and login with PHP and MYSQL android, the registration works perfectly, except that in the login part when the inserted data is correct instead of taking me to another scree...