Check PHP Session Exists

Posted Under: Programming on Jun 19, 2017
In PHP, to access session variable stored in $_SESSION array the page must have session_start() method invoked earlier, but when it is called multiple called, it throws PHP Notice "session already started".

Upload File to Server Using Java Servlet

Posted Under: Programming on Mar 3, 2017
File upload is trivial to any web application. Prior to Java Servlet specification 3.0 upload to server required Apache Commons. Now its just a matter of writing a just any other file.

Highlight User Selected Text in Webpage

Posted Under: Programming on Mar 2, 2017
Enhance your user's reading experience on your website by highlighting only the portion of text user selected. Fokus is a simple script that do this simple job in less than 3KB of code.

Change Text Selection Color CSS

Posted Under: Programming on Feb 5, 2017
With CSS3 every aspect of the Webpage can be can customized. This CSS code snippet will change the highlight color of the select text both its background and foreground color.

Responsive Font Size Scaling CSS

Posted Under: Programming on Feb 4, 2017
Websites needs to be responsive now a days. Responsive does not only mean there structure adapt itself according to the device but the font should also be scaled accordingly.
© Tutorial Jinni