browse by tag: session
sort by
Storing Sessions in Memcache (how everything behaves)
in PHP added by goodphptutorials, on 14/7/2009 memcache session
I’ve been using memcached to store session data for the past while, but we ran into a few problems at work that led me to dive in a bit deeper and see how PHP, Sessions, and memcached play along.
comment save reportCook up Web sites fast with CakePHP, Part 4: Use CakePHP's Session and Request Handler components
in PHP added by goodphptutorials, on 30/6/2009 cakephp framework mvc session
CakePHP is a stable production-ready, rapid-development aid for building Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build an online product catalog using CakePHP. Part 4 focuses primarily on the Session component of CakePHP, demonstrating three ways to save session data, as well as the Request Handler component to help you manage multiple types of requests (mobile browsers, requests containing XML or HTML, etc).
1 comment save reportThe Truth about Sessions
in PHP added by goodphptutorials, on 22/10/2008 advanced tutorials security session
Nearly every PHP application uses sessions. This article takes a detailed look at implementing a secure session management mechanism with PHP. Following a fundamental introduction to HTTP, the challenge of maintaining state, and the basic operation of cookies, I will step through simple and effective methods that can be used to increase the security and reliability of your stateful PHP applications.
comment save reportHow to: PHP Sessions
in PHP added by mig35, on 23/9/2007 beginner tutorials session
Learn what sessions are and how to create, retrieve and delete sessions in PHP
comment save reportTraverse Directories the Easy Way with Glob
in PHP added by Wildhoney, on 16/9/2007 file handling security session sessions web
There is a powerful yet somewhat unheard of function in PHP titled glob(). Many beginners and intermediates alike struggle with the traversing of directories. Acquiring the directories contents and returning them in a readable format. If only they know how so very easy this task was!
comment save reportUnderstanding the Life of a Session
in PHP added by Wildhoney, on 15/9/2007 advanced tutorials security session sessions
One of the most vast misconceptions in the PHP world is how sessions really do work. I'm fairly confident most of us know how to start sessions, terminate sessions, regenerate session IDs and easily pass data from 1 page to another. But do you really know how they work inside out?
comment save reportSecuring your MySQL queries with sprintf
in PHP added by Wildhoney, on 13/9/2007 programming security sessions
Sprintf in itself will not secure a MySQL query from head to toe. That should be made clear from the word go. There are many more techniques that go into ensuring a MySQL statement is safe to execute on the MySQL server. Sprintf will, however, take a lot of the sting out of any malice.
Not only will your new found knowledge help you when it comes to security, but sprintf and its twin brother with a slight genetic mismatch, printf, are on hand to make your PHP code look a lot more programmer-friendly.
The fastest way to see how many people are online at your site
in PHP added by Nikolas, on 2/9/2007 cookies and sessions online security session
A quick way to see how many people are browsing your site for php enabled web sites.
comment save reportProtecting a Page with Sessions
in PHP added by Dale, on 26/7/2007 cookies and sessions login logout password secure sessions
In this tutorial you will learn how to login using a passcode to view stuff on pages that you have hidden, then also logout. It is all secured by Sessions.
comment save reportLogin - Logout with a Session in 1 file
in PHP added by goodphptutorials, on 13/1/2007 security session user user authentication
Create a file for Login and Logout (PHP + MySQL) using with a SESSION variable. This file contains Login form, Login authorize program and Logout program.
comment save reportSQL Injections in PHP with MySQL
in PHP added by goodphptutorials, on 16/3/2006 get post security session sql injection
SQL injections are a major security risk in many PHP applications. Injections are caused when a web developer allows the end-user to manipulate a variable that is being inserted into a database query string, generally through the $_GET, $_POST or $_SESSION superglobals
comment save reportManaging Users with PHP Sessions and MySQL
in PHP added by goodphptutorials, on 30/1/2006 cookies cookies and sessions database mysql sessions user
In this article, I shall provide an overview of the system I developed, beginning in the first half with the user signup process. In the second half, I'll focus on the site itself, how it requires users to log in and then maintains that logged-in status throughout their visit.
comment save reportPHP Cookies
in PHP added by goodphptutorials, on 19/12/2005 cookies cookies and sessions sessions user
A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer
comment save reportCookies a Quick Glance
in PHP added by goodphptutorials, on 2/12/2005 beginner tutorials cookies session user
Sometimes it becomes necessary to track certain user details
comment save report