how to check which div is active to pass session values
<p>I am having <code>log_in</code> page. On that page I have created 2 <code>&lt;div&gt;</code> one for log_in user and another to register new candidate.I have to check the <code>candidate ID</code> to allow access to pages.For that I have to check candidate is doing log_in or registering,so for this I have to check which div is active.For that i have given id's to div and <code>run at="server"</code> property.</p>

<p>I don't know how to check active  in code-behind.And I also want to create session which hold <code>candidate ID</code>.So in another pages I can check <code>ID</code> for further operations.</p>
