How to check whether session presents or not in android?
<p>I'm very new to Android and I built a app that uses sessions. </p>

<p>I use <code>DefaultHttpClient</code> and it maintains session for me by default.</p>

<p>But before I can do a <code>GET</code> for example:</p>

<pre><code>HttpGet httpget = new HttpGet("someurl.com");
httpClient.execute(httpget); 
</code></pre>

<p>Before this step can I do a check on if whether the session exists for that current request?</p>

<p>Are there any way to do that?</p>

<p>Thanks in advance.</p>
