Posted on October 20th, 2009 by Admin
If you work in software development, you probably have heard of a record number of software projects that fail. This failure does not neccesarily mean crushing every day, although a good number of them does exactly that. The failure mostly comes in the number of complaints about usability issues, amount of patching on the software right after its release, and some cases it comes in the form of total rejection. Among the reasons most cited to have caused software development failures are:
- Lack of or poor planning
- Rushed development process – overlooking features that are essential
- The project forced upon users, usually by upper management with out getting user buy-in
- Users want the project, but management is playing gate-keepers, withholding critical information and support for the project.
For more on software project management
Filed under: Business | No Comments »
Posted on September 29th, 2009 by Admin
PHP sessions allow developers to create variable that can be used throughout the entire user session. Instead of passing variable data around and risk loosing it, you can simply define a session variable and all your pages will be able to access that variable.
To use session variables in a page, it has to have the following statement at the top right after
session_start();
after you have initialized the session, you can assign and use your session variables as follows:
$_SESSION[variablename] = $variable;
or you can retrieve the value of a session variable, even if was assigned in a different script as follows:
echo $_SESSION[variablename];
Once you are done using the session variables you can destroy them using the following code snippet:
$_SESSION = array();
session_destroy();
session_unset();
For more on using PHP sessions, visit PHP Session variables
Filed under: Uncategorized | No Comments »