<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Implementing session timeout in swing apps</title>
	<atom:link href="http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/feed" rel="self" type="application/rss+xml" />
	<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps</link>
	<description>James Selvakumar&#039;s Blog</description>
	<lastBuildDate>Sat, 22 Oct 2011 13:54:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: saikanth</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-14557</link>
		<dc:creator>saikanth</dc:creator>
		<pubDate>Fri, 18 Mar 2011 07:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-14557</guid>
		<description>please send me the code for auto logout of the swing applicqation and example ....this is my mail id:saikanth5@gmail.com</description>
		<content:encoded><![CDATA[<p>please send me the code for auto logout of the swing applicqation and example &#8230;.this is my mail id:saikanth5@gmail.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmed</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-10</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Tue, 08 Jun 2010 11:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-10</guid>
		<description>Please any sample code to call above trackSystemEvents() method</description>
		<content:encoded><![CDATA[<p>Please any sample code to call above trackSystemEvents() method</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmed</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-9</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Tue, 08 Jun 2010 11:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-9</guid>
		<description>&lt;a href=&quot;#comment-55&quot; rel=&quot;nofollow&quot;&gt;@James Selvakumar &lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-55" rel="nofollow">@James Selvakumar </a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elamaran</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-8</link>
		<dc:creator>Elamaran</dc:creator>
		<pubDate>Mon, 12 Jan 2009 04:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-8</guid>
		<description>Thanks James...

I am going to use only the user name and not the password. In the same way I am going to store some values in the session for future retrieval. Thanks for the info. It will be very useful for my application development.

Elamaran Krishnamurthy</description>
		<content:encoded><![CDATA[<p>Thanks James&#8230;</p>
<p>I am going to use only the user name and not the password. In the same way I am going to store some values in the session for future retrieval. Thanks for the info. It will be very useful for my application development.</p>
<p>Elamaran Krishnamurthy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-7</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 12 Jan 2009 02:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-7</guid>
		<description>Hi Elamaran,
There are many ways to do it.
The simplest possible way is to store it as a system property. For example,
&lt;code&gt; System.setProperty(&quot;application.userName&quot;, myUserName);&lt;code&gt;
Then you can fetch it anywhere from your application very easily. For example, you can use
&lt;code&gt; System.getProperty(&quot;application.userName&quot;); &lt;/code&gt; to retrieve the user name.

Another option is to store it in a hash map or value object and setting that object in the same way as above.

But why would you need to store the password of the user in the system? It is not advisable.</description>
		<content:encoded><![CDATA[<p>Hi Elamaran,<br />
There are many ways to do it.<br />
The simplest possible way is to store it as a system property. For example,<br />
<code> System.setProperty("application.userName", myUserName);</code><code><br />
Then you can fetch it anywhere from your application very easily. For example, you can use<br />
</code><code> System.getProperty("application.userName"); </code> to retrieve the user name.</p>
<p>Another option is to store it in a hash map or value object and setting that object in the same way as above.</p>
<p>But why would you need to store the password of the user in the system? It is not advisable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elamaran</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-6</link>
		<dc:creator>Elamaran</dc:creator>
		<pubDate>Mon, 05 Jan 2009 10:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-6</guid>
		<description>Hi,
I want to store the details of user login in the home page and on subsequent pages, I want to use those values. To be clear, I am authenticating an user with user name and password in an Java Swing application and on successful authentication, I have to store the user name and password in session. If I want the details of user name and password, I have to retrieve that from the session. How I can achieve that in Java Swing. If you have any sample code, send me to elamaran24@gmail.com.

Thanks a Lot.
Elamaran Krishnamurthy</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I want to store the details of user login in the home page and on subsequent pages, I want to use those values. To be clear, I am authenticating an user with user name and password in an Java Swing application and on successful authentication, I have to store the user name and password in session. If I want the details of user name and password, I have to retrieve that from the session. How I can achieve that in Java Swing. If you have any sample code, send me to <a href="mailto:elamaran24@gmail.com">elamaran24@gmail.com</a>.</p>
<p>Thanks a Lot.<br />
Elamaran Krishnamurthy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Selvakumar</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-5</link>
		<dc:creator>James Selvakumar</dc:creator>
		<pubDate>Thu, 20 Mar 2008 08:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-5</guid>
		<description>Hi Abhay,
You need to write the SessionMonitor yourself. It&#039;s just a singleton class with few methods buddy. If you want further information, I can help you with some sample code.</description>
		<content:encoded><![CDATA[<p>Hi Abhay,<br />
You need to write the SessionMonitor yourself. It&#8217;s just a singleton class with few methods buddy. If you want further information, I can help you with some sample code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhay</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-4</link>
		<dc:creator>Abhay</dc:creator>
		<pubDate>Thu, 20 Mar 2008 08:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-4</guid>
		<description>Hi

I have one question ...
From where will i get the jar containing &quot;SessionMonitor&quot; class ?</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I have one question &#8230;<br />
From where will i get the jar containing &#8220;SessionMonitor&#8221; class ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jetlag</title>
		<link>http://solitarygeek.com/java/implementing-session-timeout-in-swing-apps/comment-page-1#comment-3</link>
		<dc:creator>Jetlag</dc:creator>
		<pubDate>Sun, 03 Feb 2008 13:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://jamesselvakumar.wordpress.com/2007/12/03/implementing-session-timeout-in-swing-apps/#comment-3</guid>
		<description>thanks this helped alot i am writing a kiosk program and when theres no activity for a while i can now return to the main menu.</description>
		<content:encoded><![CDATA[<p>thanks this helped alot i am writing a kiosk program and when theres no activity for a while i can now return to the main menu.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 1.154 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-07 19:38:48 -->

