Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python, Lua and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, C, C++, Ruby, MySQL and Linux / Tomcat systems
 

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
PHP module H301
Sticky fields and session
Exercises, examples and other material relating to training module H301. This topic is presented on public course PHP Techniques




Articles and tips on this subjectupdated
4070Passing variable between PHP pages - hidden fields, cookies and sessions
Variables within a program are lost when the program exits ... unless the program takes some sort of action to save them. And if it does, you've then got to have another program pick them up to use them somehow. Web applications in PHP are a series of short-running programs. A program is run each time ...
2013-04-27
 
3918Multiple page web applications - maintaining state - PHP
As you want to do more in an online application, you need to link a series of forms together. There's a limit to how much you can expect your users to enter on one page, and almost inevitably they'll want feedback as they go through a series of steps. So multiple forms is natural, with each encouraging ...
2012-11-17
 
3820PHP sessions - a best practice teaching example
Whether you're selling airline tickets, updating financial records, or running a forum, you'll need software on your web server that maintains state. In other words, software which remembers who you are from page to page, remembers what you've been doing, and doesn't insist on you logging in each time. If ...
2012-08-11
 
3540Easy session example in PHP - keeping each customers data apart
When you go to a shop, you're not kept waiting outside until the previous customer leaves. The shop will have multiple shopping baskets / trollies, or muliple assistants. And that's the way you want it when you visit a web site too. This means that the web site programmer has to be very careful to ...
2011-12-06
 
2738What is all this SESSION stuff about? (PHP)
If you're booking an airline flight online, you'll be taken through a series of screens to select route, dates, times, passengers, seats, then to enter payment details, and perhaps visa / government information too. It would be impractical to do the whole job on a single page, as you need the intermediate ...
2010-05-14
 
2416Automating access to a page obscured behind a holding page
Question: "I have a web page that I visit which sends me an initial response to say that it's working on the results, and then the results appear a few seconds later. I want to use an automed process / program on my computer to visit this page and store the final results, rather than having to access ...
2009-09-23
 
1911Remember Me - PHP
Here's a paradox for you as a web site designer, when putting together a web site which requires a login. Most of your users are regulars, who really don't want the hassle of logging in every time they visit ... but at the same time, you can't allow blanket, long term logins as your site is often accessed ...
2008-12-01
 
1766Diagrams to show you how - Tomcat, Java, PHP
I like to work with a flipchart occasionally, and I have been doing so quite a bit this week, which is a week that I'm giving a wide ranging web server deployment course under Linux, covering both LAMP / PHP technologies, and Tomcat / Java too. Why do I like using a flipchart? Because it encourages ...
2008-08-24
(longest)
1739Bath, Snake or Nag?
If you're running a web application through a number of phases , you've a choice of three ways of keeping information from one page to the next (keywords - sessions, shopping carts!). You can use a bathtub - each time history (data) is entered, it gets added to a collection which gets passed back and ...
2008-08-07
 
Examples from our training material
dozen.php   Sending out holding pages before final result page
firstmultipage.php   Session in use for multipage application / named pages
fru2.php   Sticky fields, and preventing injection attacks
multitemplate.htp   Template for secondmultipage and thirdmultipage demos
secondmultipage.php   Session in use for multipage application / named pages. Split template
stracker.php   Cookie demo - session alternative
thirdmultipage.php   Session in use for multipage application / named pages / webhelpers
tracker.php   Cookie demo - demonstration of session principles
westend.php   PHP Session - first principles
wsss.php   Sessions - a demo of the mechanism
zxzx.php   Viewing session from another web page
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from [here].
Topics covered in this module
User-proofing your data entry.
Data validation with regular expressions.
Equallity and not equality.
Consistent Error handling.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Ruby, Lua, Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2018: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01225 708225 • FAX: 01225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/H301.html • PAGE BUILT: Mon Feb 8 18:55:24 2016 • BUILD SYSTEM: WomanWithCat