<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chintoju's blog</title>
	<atom:link href="http://blog.chintoju.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.chintoju.com</link>
	<description>Can you get something out of nothing...</description>
	<lastBuildDate>Thu, 08 Oct 2009 02:07:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JBoss and Oracle connection failing with java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars</title>
		<link>http://blog.chintoju.com/2009/10/jboss-and-oracle-connection-failing-with-java-lang-nosuchmethoderror-oracle-sql-converter-characterconverters-tounicodechars.html</link>
		<comments>http://blog.chintoju.com/2009/10/jboss-and-oracle-connection-failing-with-java-lang-nosuchmethoderror-oracle-sql-converter-characterconverters-tounicodechars.html#comments</comments>
		<pubDate>Thu, 08 Oct 2009 02:06:14 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=80</guid>
		<description><![CDATA[Ever saw some/none of the DB calls in jboss (4.2.3) and oracle (9i) failing with the following error. The exceptions can be all different types, but eventually caused by this following exception.
 .
.
Caused by: java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars([BI[CII)I
.
.
This happened when I tried to switch databases this morning (both Oracle 9i) . Nothing fixed it till I replaced [...]]]></description>
			<content:encoded><![CDATA[<p>Ever saw some/none of the DB calls in jboss (4.2.3) and oracle (9i) failing with the following error. The exceptions can be all different types, but eventually caused by this following exception.</p>
<p><code> .<br />
.<br />
Caused by: java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars([BI[CII)I<br />
.<br />
.</code></p>
<p>This happened when I tried to switch databases this morning (both Oracle 9i) . Nothing fixed it till I replaced both the Driver jars(<em>nls_charset12-10.2.0.jar, ojdbc14-10.2.0.jar) </em>, preferrably from somwhere the connection is working, I took them from a colleague.  Or you can try and download the latest drivers as well. But make sure to delete your server <strong>work</strong> and <strong>temp</strong> directories.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2009/10/jboss-and-oracle-connection-failing-with-java-lang-nosuchmethoderror-oracle-sql-converter-characterconverters-tounicodechars.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refresh ID3 tags of entire music library in iTunes (Windows)</title>
		<link>http://blog.chintoju.com/2009/07/refresh-id3-tags-of-entire-music-library-in-itunes-windows.html</link>
		<comments>http://blog.chintoju.com/2009/07/refresh-id3-tags-of-entire-music-library-in-itunes-windows.html#comments</comments>
		<pubDate>Thu, 02 Jul 2009 11:41:01 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[id3 tags]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=76</guid>
		<description><![CDATA[If you are like me and manage your ID3 tags outside iTunes for your music, this is how you force iTunes to refresh all ID3 info without having to recreate the entire library.

Select all songs (Ctrl+A)
Right click the selection, click on &#8216;Get info&#8217;
Without entering any data, just click on &#8216;Ok&#8217; this will force iTunes to [...]]]></description>
			<content:encoded><![CDATA[<p>If you are like me and manage your ID3 tags outside iTunes for your music, this is how you force iTunes to refresh all ID3 info without having to recreate the entire library.</p>
<ol>
<li>Select all songs (Ctrl+A)</li>
<li>Right click the selection, click on &#8216;Get info&#8217;</li>
<li>Without entering any data, just click on &#8216;Ok&#8217; this will force iTunes to refresh ID3 info.<br />
NOTE: Care full not to enter anything in the &#8216;Get info&#8217; dialog when it is open. Because anything you enter will be applied to all songs.</li>
</ol>
<p>Voila! that should do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2009/07/refresh-id3-tags-of-entire-music-library-in-itunes-windows.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Google Chrome Offline Installer (From Google)</title>
		<link>http://blog.chintoju.com/2009/03/google-chrome-offline-installer-from-google.html</link>
		<comments>http://blog.chintoju.com/2009/03/google-chrome-offline-installer-from-google.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 22:42:43 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[chrome]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=74</guid>
		<description><![CDATA[Download Google Chrome Offline Installer from Google]]></description>
			<content:encoded><![CDATA[<p>Having issues downloading/updating google chrome due to corporate proxies. Try the offline installer from Google it-self.</p>
<p>Download the offline installer from Google <a href="http://www.google.com/chrome/thankyou.html?standalone=1&amp;hl=en">http://www.google.com/chrome/thankyou.html?standalone=1&amp;hl=en</a></p>
<p><a href="http://www.google.com/support/installer/bin/answer.py?answer=126299&amp;answer=106640&amp;hl=en&amp;errorcode=0x80042197&amp;extracode1=0x00000000&amp;extracode2=0&amp;app={8A69D345-D564-463C-AFF1-A69D9E530F96}&amp;guver=1.2.141.5&amp;ismachine=0&amp;os=5.1&amp;sp=Service%20Pack%202&amp;mid={19A2D884-615D-4653-9690-08DA380F22D2}&amp;uid={A7FF694A-2A42-4DAD-B3EA-589F74A1481D}&amp;iid=&amp;source=gethelp">Google Chrome Proxy Issues</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2009/03/google-chrome-offline-installer-from-google.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion proxy connection issues with Eclipse (In windows)</title>
		<link>http://blog.chintoju.com/2009/03/subversion-proxy-connection-issues-with-eclipse-in-windows.html</link>
		<comments>http://blog.chintoju.com/2009/03/subversion-proxy-connection-issues-with-eclipse-in-windows.html#comments</comments>
		<pubDate>Wed, 11 Mar 2009 06:56:33 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[subclipse]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[subversive]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=65</guid>
		<description><![CDATA[If you are having issues connecting to your subversion repositories from Eclipse (May be with Subversive/Subclipse). Try the following.
Enter proxy details into Subversion configuration:
Open servers file in the following location

Window XP
C:\Documents and Settings\MyUserId\Application Data\Subversion\servers
Windows Vista
C:\Users\Clientside\AppData\Roaming\Subversion\servers

Update following lines at the end of file
[global]
http-proxy-exceptions = yourproxy exceptions (e.g. dev.company.com.au)
http-proxy-host = yourproxyhost (e.g. proxy.company.com.au)
http-proxy-port = your proxy port [...]]]></description>
			<content:encoded><![CDATA[<p>If you are having issues connecting to your subversion repositories from Eclipse (May be with Subversive/Subclipse). Try the following.</p>
<h2>Enter proxy details into Subversion configuration:</h2>
<h3>Open <strong>servers</strong> file in the following location</h3>
<dl>
<dt>Window XP</dt>
<dd>C:\Documents and Settings\MyUserId\Application Data\Subversion\<strong>servers</strong></dd>
<dt>Windows Vista</dt>
<dd>C:\Users\Clientside\AppData\Roaming\Subversion\<strong>servers</strong></dd>
</dl>
<h3>Update following lines at the end of file</h3>
<pre>[global]
http-proxy-exceptions = yourproxy exceptions (e.g. dev.company.com.au)
http-proxy-host = yourproxyhost (e.g. proxy.company.com.au)
http-proxy-port = your proxy port (e.g. 8080)
http-proxy-username = proxyusername
http-proxy-password = proxypassword</pre>
<p><em>This step might not be needed all the time </em></p>
<h2>Update Eclipse Proxy settings</h2>
<p><strong>Windows > Preferences</strong> </p>
<p>Type &#8216;<strong>proxy</strong>&#8216; in the filter text box. Go to &#8216;Network Connections&#8217; config page. Choose manual proxy configuration and Update the proxy details.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2009/03/subversion-proxy-connection-issues-with-eclipse-in-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install OpenOffice.org 3.0 in Linux Mint</title>
		<link>http://blog.chintoju.com/2008/12/how-to-install-openofficeorg-30-in-linux-mint.html</link>
		<comments>http://blog.chintoju.com/2008/12/how-to-install-openofficeorg-30-in-linux-mint.html#comments</comments>
		<pubDate>Wed, 17 Dec 2008 11:12:38 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linuxmint]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=50</guid>
		<description><![CDATA[This is pretty simple in the linux mint. (You usually already have OpenOffice.org 2.4 which comes by default, so this is more like an upgrade procedure)
You add the OpenOffice deb repository as this is not yet available from Ubuntu reps and do a mintUpdate which will quickly tell you what is ready to be updated. [...]]]></description>
			<content:encoded><![CDATA[<p>This is pretty simple in the linux mint. (You usually already have OpenOffice.org 2.4 which comes by default, so this is more like an upgrade procedure)</p>
<p>You add the OpenOffice deb repository as this is not yet available from Ubuntu reps and do a mintUpdate which will quickly tell you what is ready to be updated. Here we go.</p>
<p><strong>Step 1</strong> &#8211; Add openoffice.org repository. To do this first open Synaptic Package Manger, Go to Setting&gt;Repositories. Click new which will add new repository at the end of list. Add the following details as shown in screenshot for the new repository entry. Then press ok to save.</p>
<p><a href="http://blog.chintoju.com/wp-content/uploads/2008/12/add-repository-mint1.png"><img class="alignnone size-medium wp-image-57" title="add-repository-mint1" src="http://blog.chintoju.com/wp-content/uploads/2008/12/add-repository-mint1-300x187.png" alt="add-repository-mint1" width="300" height="187" /></a></p>
<p><strong>Step 2:</strong> Open mintUpdate (Menu&gt;Administration&gt;mintUpdate) and click on <strong>Refresh</strong>, Which will now show all the updates for open office. Click installl updates</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/12/how-to-install-openofficeorg-30-in-linux-mint.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Filter email from spam sites which uses different email id&#8217;s every time (in Gmail)</title>
		<link>http://blog.chintoju.com/2008/12/filter-email-from-spam-sites-which-uses-different-email-ids-every-time-in-gmail.html</link>
		<comments>http://blog.chintoju.com/2008/12/filter-email-from-spam-sites-which-uses-different-email-ids-every-time-in-gmail.html#comments</comments>
		<pubDate>Tue, 02 Dec 2008 06:37:15 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[anti-spam]]></category>
		<category><![CDATA[gmail]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=39</guid>
		<description><![CDATA[There is a cheap trick being played by one of those social networking sites (Siliconindia.com , Siliconindia.net, Siliconindia etc.), which has even managed to avoid the very good spam filter google has in gmail.  They use different pictures of girls (mostly good looking), different from addresses. Opt out does nothing, and both &#8216;Yes&#8217; and &#8216;No&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>There is a cheap trick being played by one of those social networking sites (Siliconindia.com , Siliconindia.net, Siliconindia etc.), which has even managed to avoid the very good spam filter google has in gmail.  They use different pictures of girls (mostly good looking), different from addresses. Opt out does nothing, and both &#8216;Yes&#8217; and &#8216;No&#8217; take you to the same page.</p>
<p><a href="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot028.png"><img class="aligncenter size-full wp-image-40" title="Spam Email from SiliconIndia" src="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot028.png" alt="" width="500" height="279" /></a></p>
<p>I tried opting out and even the powerful Spam button, some improvement&#8230; but no, not a full solution.</p>
<p>So this week when I saw the one more spam email from them, I had enough. I Just decided to put a ban on emails from this domain to my inbox using a simple filter. This is very simple in Gmail. But I&#8217;m pretty sure all the other mail providers have the same kind of facilities.</p>
<p><strong>Step 1 &#8211; Create a filter</strong></p>
<p><a href="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot029.png"><img class="alignnone size-medium wp-image-41" title="Step 1 - Create a filter" src="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot029-300x211.png" alt="" width="300" height="211" /></a></p>
<p><strong>Step 2 &#8211; Enter your filter criteria, Make sure to delete &#8216;From email address&#8217;, so the filter is effective. In my case I just said stop anything from this site coming to me. I had enough of them.</strong></p>
<p>Click on test search at the end to see if this working cool and then click &#8216;Next Step&#8217;</p>
<p><a href="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot030.png"><img class="alignnone size-medium wp-image-42" title="Step2 - Enter filter criteria" src="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot030-300x71.png" alt="" width="300" height="71" /></a></p>
<p><strong>Step 3 &#8211; </strong>Then click Create Filter. Voila you are done. You will never see one more evil email like this. But as the spammers evolve we need to evolve too..</p>
<p><a href="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot031.png"><img class="alignnone size-medium wp-image-43" title="Step 3 - Test your filter" src="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot031-300x109.png" alt="" width="300" height="109" /></a></p>
<p><a href="http://blog.chintoju.com/wp-content/uploads/2008/12/screenshot032.png"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/12/filter-email-from-spam-sites-which-uses-different-email-ids-every-time-in-gmail.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Pattern/Stripe background tile image generator</title>
		<link>http://blog.chintoju.com/2008/09/free-patternstripe-background-tile-image-generator.html</link>
		<comments>http://blog.chintoju.com/2008/09/free-patternstripe-background-tile-image-generator.html#comments</comments>
		<pubDate>Tue, 16 Sep 2008 12:14:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=25</guid>
		<description><![CDATA[Ever searched google for some nice background stripe tile images only to be stuck at god awful pattern sites with patterns like dead wood and rusty steel to pink flowers. I DID!! like a gazillion times.
Finally someone to the rescue.
http://www.stripgenrator.com/
Pick choose create and download your own stripes all for FREE. Pretty much on the lines [...]]]></description>
			<content:encoded><![CDATA[<p>Ever searched google for some nice background stripe tile images only to be stuck at god awful pattern sites with patterns like dead wood and rusty steel to pink flowers. I DID!! like a gazillion times.</p>
<p>Finally someone to the rescue.</p>
<p>http://www.stripgenrator.com/</p>
<p>Pick choose create and download your own stripes all for FREE. Pretty much on the lines of ajaxload.info. These guys are cool, they make the web a better place and web development an interesting job, with discoveries to be made every day.</p>
<p>And don&#8217;t forget to click on &#8216;<a href="http://www.stripegenerator.com/index.php?page=showcase">Your Stripes</a>&#8216; to get inspired.</p>
<p>Just go there and check out for your self.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/09/free-patternstripe-background-tile-image-generator.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieve items from Browser Cache (Firefox, Opera, IE)</title>
		<link>http://blog.chintoju.com/2008/07/retrieve-filesitems-from-browser-cache-firefox-opera-ie.html</link>
		<comments>http://blog.chintoju.com/2008/07/retrieve-filesitems-from-browser-cache-firefox-opera-ie.html#comments</comments>
		<pubDate>Fri, 18 Jul 2008 05:57:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=24</guid>
		<description><![CDATA[Have you ever had to work on a live site and while uploading the changes something goes bad with whatever and your live copy gets deleted and that&#8217;s the only copy you have at the moment. (This can happen easily if you are using those file manager tools provided by hosting accounts which edit files [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever had to work on a live site and while uploading the changes something goes bad with whatever and your live copy gets deleted and that&#8217;s the only copy you have at the moment. (This can happen easily if you are using those file manager tools provided by hosting accounts which edit files in browser)</p>
<p>Anyway the quickest solution would be to get the files from the browser cache. If you have been testing the site simultaneously. I had to do this recently and it saved me lot of time and embarrassment. So here is how you can do it &#8230;.</p>
<p>On <span style="font-weight:bold;">Firefox 3</span> (My favourite browser)</p>
<p>Type <span style="font-weight:bold;">about:cache</span> in address bar and voila you get access to all the cache. The view is functional and easy to use.</p>
<p><a href="http://bp3.blogger.com/_znpAdmT-J6Q/SIA2GWho_pI/AAAAAAAACbA/YHwI7o-rhoo/s1600-h/ScreenShot004.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5224235050503569042" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_znpAdmT-J6Q/SIA2GWho_pI/AAAAAAAACbA/YHwI7o-rhoo/s320/ScreenShot004.png" border="0" alt="" /></a><br />
<a href="http://bp2.blogger.com/_znpAdmT-J6Q/SIA2Gk7WhSI/AAAAAAAACbI/ezmzaFYNM7w/s1600-h/ScreenShot005.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5224235054369506594" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_znpAdmT-J6Q/SIA2Gk7WhSI/AAAAAAAACbI/ezmzaFYNM7w/s320/ScreenShot005.png" border="0" alt="" /></a></p>
<p>On <span style="font-weight:bold;">Opera 9.5</span>(Increasingly competing for my favourite browser spot, can even do that with one plugin like Firebug)</p>
<p>Type <span style="font-weight:bold;">opera:cache</span> in address bar and voila you go.. the best cache browser in the industry. Opera has some more cool features like SpeedDial.. anyway you can discover all that yourself by downloading it.</p>
<p><a href="http://bp1.blogger.com/_znpAdmT-J6Q/SIAz9oyF2VI/AAAAAAAACaw/lZpLSc63A1w/s1600-h/ScreenShot006.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5224232701762328914" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_znpAdmT-J6Q/SIAz9oyF2VI/AAAAAAAACaw/lZpLSc63A1w/s320/ScreenShot006.png" border="0" alt="" /></a></p>
<p>On <span style="font-weight:bold;">IE 7</span>. This takes just a bit longer. Click on <span style="font-weight:bold;">Tools&gt;Internet Options&gt;Browsing History&gt;Settings&gt;View Files</span>.. pretty logical huh!</p>
<p>Anyway it does the job&#8230;</p>
<p><a href="http://bp0.blogger.com/_znpAdmT-J6Q/SIA1KL823LI/AAAAAAAACa4/vutoQj4nCeU/s1600-h/ScreenShot003.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5224234016872783026" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_znpAdmT-J6Q/SIA1KL823LI/AAAAAAAACa4/vutoQj4nCeU/s320/ScreenShot003.png" border="0" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/07/retrieve-filesitems-from-browser-cache-firefox-opera-ie.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A particular session variable&#8217;s value disappearing from $_SESSION in PHP</title>
		<link>http://blog.chintoju.com/2008/07/a-particular-session-variables-value-disappearing-from-_session-in-php.html</link>
		<comments>http://blog.chintoju.com/2008/07/a-particular-session-variables-value-disappearing-from-_session-in-php.html#comments</comments>
		<pubDate>Sun, 13 Jul 2008 14:03:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=23</guid>
		<description><![CDATA[A particular session variable&#8217;s value disappearing from $_SESSION in PHP&#8230; ??
Just check to make sure you DON&#8217;T have register_globals turned On. This took me a few hour&#8217;s to figure out..
Example scenario..
Form Bean class

class FormBean
{
public $email;
public $name;
}

page1.php

$form = new FormBean();
$form-&#62;email = "someone@something.com.au";
$_SESSION['form'] = serialize($form);
header("location:page2.php");

page2.php

$form =NULL;
if(isset($_SESSION['form']))
{
$form = unserialize($_SESSION['form']);
}
echo $form-&#62;email;

Expected to print &#8220;someone@something.com.au&#8221; right. Usually it does. If [...]]]></description>
			<content:encoded><![CDATA[<p>A particular session variable&#8217;s value disappearing from $_SESSION in PHP&#8230; ??</p>
<p>Just check to make sure you DON&#8217;T have <span style="font-weight: bold;">register_globals</span> turned <span style="font-weight: bold;">On.</span> This took me a few hour&#8217;s to figure out..</p>
<p>Example scenario..<br />
<span style="text-decoration: underline;">Form Bean class</span><br />
<code><br />
class FormBean<br />
{<br />
public $email;<br />
public $name;<br />
}<br />
</code></p>
<p><span style="text-decoration: underline;">page1.php</span><br />
<code><br />
$form = new FormBean();<br />
$form-&gt;email = "someone@something.com.au";<br />
$_SESSION['form'] = serialize($form);<br />
header("location:page2.php");<br />
</code></p>
<p><span style="text-decoration: underline;">page2.php</span><br />
<code><br />
$form =NULL;<br />
if(isset($_SESSION['form']))<br />
{<br />
$form = unserialize($_SESSION['form']);<br />
}<br />
echo $form-&gt;email;<br />
</code></p>
<p>Expected to print &#8220;someone@something.com.au&#8221; right. Usually it does. If it doesn&#8217;t and you see that all other session variables are intact except &#8216;form&#8217;, then it&#8217;s time to look at your &#8216;register_globals&#8217; setting. One of my client uses this pretty lax hosting which had this on what it has done is &#8230;.</p>
<p><span style="text-decoration: underline;">page2.php</span><br />
<code><br />
<strong>$form =NULL;</strong> <span style="color: #f67c2a;">//This sets the form bean to NULL.. wherever it is stored. Throughout the entire website. (Even IN $_SESSION)</span></code></p>
<p><code> </code></p>
<p><code>if(isset($_SESSION['form']))<br />
{<br />
$form = unserialize($_SESSION['form']);<br />
}<br />
echo $form-&gt;email;<br />
</code></p>
<p>So the <span id="SPELLING_ERROR_0" class="blsp-spelling-error">lesson</span> learnt for me was&#8230; Just check to make sure <span style="font-weight: bold;">register_<span id="SPELLING_ERROR_1" class="blsp-spelling-error"><span id="SPELLING_ERROR_0" class="blsp-spelling-error">globals</span></span></span> is <span style="font-weight: bold;">Off</span> whenever you switch to new hosting.. <span id="SPELLING_ERROR_2" class="blsp-spelling-error"><span id="SPELLING_ERROR_1" class="blsp-spelling-error">coz</span></span> that is pure EVIL.</p>
<p>How you can turn it off.. There are two different ways.</p>
<ol>
<li><span style="font-weight: bold;"><a href="http://www.php.net/ini_set"><span id="SPELLING_ERROR_3" class="blsp-spelling-error"><span id="SPELLING_ERROR_2" class="blsp-spelling-error">ini</span></span>_set</a><br />
</span></li>
<li><span style="font-weight: bold;">.<a href="http://www.askapache.com/php/custom-phpini-tips-and-tricks.html"><span id="SPELLING_ERROR_4" class="blsp-spelling-error"><span id="SPELLING_ERROR_3" class="blsp-spelling-error">htaccess</span></span></a></span></li>
</ol>
<p>This also makes me feel that PHP&#8217;s OOP implementation is either misleading , buggy or at least fundamentally different to other OOP languages like Java or C#.</p>
<p>Consider this in Java:<br />
<span style="text-decoration: underline;">FormBean.java</span><br />
<code><br />
class FormBean<br />
{<br />
public String email;<br />
}<br />
</code></p>
<p><span style="text-decoration: underline;">TestFormBean.java</span><br />
<code><br />
class TestFormBean<br />
{<br />
public static void main(String[] args)<br />
{<br />
FormBean form1 = new FormBean(); <span style="color:#F67C2A">//Create new form bean</span><br />
form1.email = "someone@something.com.au"; <span style="color:#F67C2A">//populate form bean</span></code></p>
<p><code>FormBean form2 = form1; <span style="color:#F67C2A">//Assign created form bean object to another reference variable</span><br />
form1 = null;</p>
<p></code></p>
<p><code> System.out.println(form2.email);<br />
<span style="color:#F67C2A"><br />
//would still print "someone@something.com.au"<br />
//i.e. Just setting one reference to NULL won't kill its object instance.</span><br />
}<br />
}</code><br />
I have tested similar code with PHP though&#8230; I have only realised <strong>register_globals</strong> seems to affect the ways objects and their references are handled. Like setting one reference of an object to NULL killing the object instance, which essentially renders all my other references useless.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/07/a-particular-session-variables-value-disappearing-from-_session-in-php.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse/RAD debugger timing out before starting server</title>
		<link>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html</link>
		<comments>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html#comments</comments>
		<pubDate>Sat, 21 Jun 2008 00:31:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=21</guid>
		<description><![CDATA[Is your RAD/Eclipse Java debugger timing out before starting the server?
Have a gazillion projects in RAD/Eclipse which all have to be deployed in server for debugging all the time like I do?
There is an easy way to increase RAD/Eclipse debugger timeout.

Go to Windows &#62; Preferences &#62; Java &#62; Debug

Increase both &#8220;Debugger time-out&#8221; and &#8220;Launch time-out&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Is your RAD/Eclipse Java debugger timing out before starting the server?</p>
<p>Have a gazillion projects in RAD/Eclipse which all have to be deployed in server for debugging all the time like I do?</p>
<p>There is an easy way to increase RAD/Eclipse debugger timeout.</p>
<ol type="1">
<li>Go to <strong>Windows &gt; Preferences &gt; Java &gt; Debug<br />
</strong></li>
<li>Increase both &#8220;Debugger time-out&#8221; and &#8220;Launch time-out&#8221; value to be much larger. Try values like 180000/360000 respectively for time-out values of 3 and 6 mins.</li>
</ol>
<p><a href="http://bp0.blogger.com/_znpAdmT-J6Q/SFyEvDL2aqI/AAAAAAAACIA/IohQG_SUmTs/s1600-h/RAD_Eclipse_ScreenShot002.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5214188412431919778" style="margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://bp0.blogger.com/_znpAdmT-J6Q/SFyEvDL2aqI/AAAAAAAACIA/IohQG_SUmTs/s320/RAD_Eclipse_ScreenShot002.png" border="0" alt="" /></a></p>
<p>Full article at IBM</p>
<p><a href="http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en"></a><a href="http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en">http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
