MD
MD
KPCKevin Powell - Community
Created by MD on 6/6/2024 in #ui-ux
Deciding on a color palette and also what mobile phone screen size to start with
never heard of wal
9 replies
KPCKevin Powell - Community
Created by MD on 6/6/2024 in #ui-ux
Deciding on a color palette and also what mobile phone screen size to start with
i like this chart
9 replies
KPCKevin Powell - Community
Created by MD on 6/6/2024 in #ui-ux
Deciding on a color palette and also what mobile phone screen size to start with
No description
9 replies
KPCKevin Powell - Community
Created by MD on 6/6/2024 in #ui-ux
Deciding on a color palette and also what mobile phone screen size to start with
like i made this
9 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
to the user it could be annoying but it seems to work for the most part
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
but that depends on the browser settings like it works with chromium but since my firefox runs everything in private browsing and closes and deletes cookies after use, nothing is retained
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
so here's what I figured out with my sessions... when you close the tab or just add a new one with the same site you have to reauthicate but if you use remember password it seems to work
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
update:
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
well I goofed it up. I have error_log with no value but log_errors is set to on
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
trying to find the error_log now
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
yeah i changed that back to login.php since they're in the same directory
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
oddly it was working before I did the cookie stuff
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
ill have to go back and check i haven't looked at this project in a week
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
like you can't logout
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
is their a reason that when you hit logout and the page doesn't change over?
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
if(isset($_POST['submit'])) {

if(isset($_COOKIE[session_name()])) {
setcookie(session_name(), '',time() - 3600, '/');
}

$_SESSION[] = array();
session_destroy();
header("location: ../view/login.php");
exit;
}
if(isset($_POST['submit'])) {

if(isset($_COOKIE[session_name()])) {
setcookie(session_name(), '',time() - 3600, '/');
}

$_SESSION[] = array();
session_destroy();
header("location: ../view/login.php");
exit;
}
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
oh
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
ah maybe below all those sessions and cookie check
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
just move it to where I had it before?
47 replies
KPCKevin Powell - Community
Created by MD on 5/13/2024 in #back-end
How do you properly close a php session before closing the browser?
how do you delay it?
47 replies