Tuesday, July 15, 2008

Single Page Server Side Cookie Check (With Almonds)

Here's a bit of .Net code that allows you to check the state of a browser's cookie settings... Enabled or Disabled. It does use a redirect, but it still only requires a single page:

Sample Default.aspx.cs
// default namespace directives here...

public partial class _Default : System.Web.UI.Page
   bool cookies = false;

   protected void Page_Load(object sender, EventArgs e)
      cookies = cookiecheck();
      Response.Write("cookies = " + cookies.ToString());

   private bool cookiecheck()
      if (Session["CookiesEnabled"] != null)
         return true;

      if (!IsPostBack)
         if (Page.Request.QueryString["ce"] == null)
            Session["CookiesEnabled"] = true;
            Response.Redirect(Request.Url.ToString() + "?ce=1");

      return false;

Now go eat some almonds.

Tuesday, July 8, 2008

enSynch Slated to Take Over the World

enSynch, Inc.

Based in Tempe, AZ, enSynch, Inc. is one of the best IT service organizations I've ever had the privilege to work with.  And now they're getting even better!  With their agreement to acquire EBI Solutions, enSynch is further securing its position as the leading IT service organization in the Southwest.

You can read all about enSynch here and if you slide your mouse over here you can find all the insight you need on EBI.

The full press release is here.  Truly there is no reason to look anywhere else for your Microsoft infrastructure needs.  There is a heap of talent in that organization covering Messaging (Unified or otherwise), SharePoint, Identity Management, Business intelligence, Process Automation and pretty much any other buzz-word you can think of.

Engage enSynch and success is inevitable.