| ");
try
{
if( this.Page.Session != null && this.Page.Session.Count > 0)
{
if( this.Page.Session["UserPass"] == null)
{
output.Write(SPEncode.HtmlEncode("I dont have the passport for you ... "));
this._linkButton.RenderControl(output);
}
else
{
output.Write(SPEncode.HtmlEncode("Thanks GOD "+this.Page.Session["UserPass"].ToString()+"! you are logged in .."));
}
}
else
{
output.Write(SPEncode.HtmlEncode("I dont have the passport for you ... "));
this._linkButton.RenderControl(output);
}
}
catch(System.Exception exp)
{
output.Write(SPEncode.HtmlEncode("ERROR OCCURED "+exp.Message) );
this._linkButton.RenderControl(output);
}
finally
{
output.Write(" | ");