jcarouth / ama Goto Github PK
View Code? Open in Web Editor NEWThis project forked from aviflombaum/ama
Ask me anything!
This project forked from aviflombaum/ama
Ask me anything!
Best advice you can give to up and coming developers?
See above
Editor, terminal, tools, themes, fonts, process, etc.
I am currently working on a big Web Development Project and I just Implemented a login system. I start a Session the secure way every time a new site is loaded:
` $session_name = 'sec_session_id'; // Set a custom session name
$secure = true;
// This stops JavaScript being able to access the session$id.
$httponly = true;
// Forces sessions to only use cookies.
if (ini_set('session.use_only_cookies', 1) === FALSE) {
header("Location: ../error.php?err=Could not initiate a safe session (ini_set)");
exit();
}
// Gets current cookies params.
$cookieParams = session_get_cookie_params();
session_set_cookie_params($cookieParams["lifetime"],
$cookieParams["path"],
$cookieParams["domain"],
$secure,
$httponly);
// Sets the session name to the one set above.
session_name($session_name);
session_start(); // Start the PHP session
session_regenerate_id(true); // regenerated the session, delete the old one. `
After logging a user in the Session Variables are good, containing the logged in user, but if I go to another Page, the Session Variables are empty.
aka if you could make it so everyone automatically used PSR2 formatting, or something like that, what would you do?
If you start a new job or project to a company project you are handed on Monday. What are the first things you would want to do by Friday for you and would you give your team to do (say one or two other devs) ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.