In this tutorial I will discuss what are the states of objects (transient persistent and detached objects) in Hibernate framework. You might be knowing that Hibernate is an ORM (Object Relational Mapping), which is an automated persistent of objects in a Java application to the tables in a relational database. Hibernate defines and supports three…

Posted in Hibernate

Hibernate Object States – Transient, Persistent and Detached

Introduction You will see here how to do session management in Python Flask. Session management in Python flask generally involves starting session, removing item from session, clearing item from session, updating item in session. You will see in subsequent sections later how to put value or an item into session, updating value in session, clearing…

Posted in Flask Python

Session Management in Python, Flask

Introduction We will see here how to do flash message management using Python, Flask. Ideally almost every application needs to provide some meaningful message to end user after some activities performed by end users. Such activities may be registration on a site, login, payment, etc. So after each operation whether success or failure most of…

Posted in Flask Python

Flash Message Management in Python, Flask

Introduction This tutorial will show you how to generate captcha image using Codeigniter Captcha Helper. We will also see how to use captcha using CodeIgniter framework. Captcha helps to prevent automatic submission of forms on the web pages. Captcha would not have been there then some users would have filled your site with spams. Here…

Posted in Codeigniter

Captcha using Codeigniter