<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Tim Maxey | Tampa Bay Web Design</title>
        <link>http://timmaxey.net/Default.aspx</link>
        <description>Web Design | SEO Marketing | Programming Tips</description>
        <language>en-US</language>
        <copyright>Tim Maxey</copyright>
        <managingEditor>tim@timmaxey.com</managingEditor>
        <generator>Subtext Version 1.9.5.177</generator>
        <image>
            <title>Tim Maxey | Tampa Bay Web Design</title>
            <url>http://timmaxey.net/images/RSS2Image.gif</url>
            <link>http://timmaxey.net/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Jquery Imageflow iPhone Photo rotation</title>
            <category>JavaScript</category>
            <link>http://timmaxey.net/archive/2010/03/05/jquery-imageflow-iphone-photo-rotation.aspx</link>
            <description>&lt;p&gt;Cool thing I found and broke it up for easy copy and use... Check out the code below and the links. Just grab the js and css files yourself off my server...&lt;/p&gt;
&lt;p&gt;Take a look at the &lt;a target="_blank" href="http://timmaxey.com/i/i.html"&gt;ImageFlow IPhone like Photo viewer&lt;/a&gt; you can view the source and get the goods, but below is the just of the code:&lt;/p&gt;
&lt;p&gt;In the HEAD tag:&lt;/p&gt;
&lt;p&gt;&lt;font face=""&gt;&amp;lt;link rel="stylesheet" href="imageflow.css" type="text/css" /&amp;gt;&lt;br /&gt;
&amp;lt;script type='text/javascript' src='jquery.js?ver=1.3.2'&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type='text/javascript' src='jquery.cycle.js?ver=1.0'&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type='text/javascript' src='jquery.thumb-hover.js?ver=1.0'&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type='text/javascript' src='imageflow.js?ver=1.0'&amp;gt;&amp;lt;/script&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=""&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=""&gt; jQuery(function($){&lt;br /&gt;
  &lt;br /&gt;
  //sliding content&lt;br /&gt;
        $('#image').cycle({&lt;br /&gt;
   timeout: 5000,&lt;br /&gt;
   fx: 'fade'&lt;br /&gt;
  });&lt;br /&gt;
 &lt;br /&gt;
 });&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/script&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Then somewhere in the BODY TAG:&lt;/p&gt;
&lt;p&gt;&lt;font face=""&gt;&amp;lt;div id="slider" class="imageflow"&amp;gt; &lt;br /&gt;
   &amp;lt;img src="images/1.jpg" width="600" height="450" alt="One" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/2.jpg" width="600" height="450" alt="Two" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/3.jpg" width="600" height="450" alt="Three" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/4.jpg" width="600" height="450" alt="Four" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/5.jpg" width="600" height="450" alt="Five" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/6.jpg" width="600" height="450" alt="Six" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/7.jpg" width="600" height="450" alt="Seven" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/8.jpg" width="600" height="450" alt="Eight" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/9.jpg" width="600" height="450" alt="Nine" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/10.jpg" width="600" height="450" alt="Ten" /&amp;gt;&lt;br /&gt;
   &amp;lt;img src="images/11.jpg" width="450" height="600" alt="Eleven" /&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;You can have as many images as you like, but they do "pre-load..." Have fun!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://timmaxey.net/aggbug/27.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Maxey</dc:creator>
            <guid>http://timmaxey.net/archive/2010/03/05/jquery-imageflow-iphone-photo-rotation.aspx</guid>
            <pubDate>Sat, 06 Mar 2010 01:39:25 GMT</pubDate>
            <wfw:comment>http://timmaxey.net/comments/27.aspx</wfw:comment>
            <comments>http://timmaxey.net/archive/2010/03/05/jquery-imageflow-iphone-photo-rotation.aspx#feedback</comments>
            <wfw:commentRss>http://timmaxey.net/comments/commentRss/27.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Plat Maps Plot Maps Parcel Boundaries</title>
            <category>VB.NET Code</category>
            <category>JavaScript</category>
            <link>http://timmaxey.net/archive/2010/03/05/plat-maps-plot-maps-parcel-boundaries.aspx</link>
            <description>&lt;p&gt;A new service was just release (BETA) for Florida county plat maps, Florida county plot maps, Florida county parcel boundary maps.&lt;/p&gt;
&lt;p&gt;Really cool application. Check it out: &lt;a target="_blank" href="http://www.earthplat.com"&gt;Florida County Plat, Plot, Zoning, Parcel Boundary Maps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Technologies used: Google Earth Plugin, KML, Google Maps, Mobile device support for Android and iPhone platforms. Search the entire state of Florida for parcel boundaries, owner information, Google Street View, etc...&lt;/p&gt;&lt;img src="http://timmaxey.net/aggbug/26.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Maxey</dc:creator>
            <guid>http://timmaxey.net/archive/2010/03/05/plat-maps-plot-maps-parcel-boundaries.aspx</guid>
            <pubDate>Fri, 05 Mar 2010 22:59:46 GMT</pubDate>
            <wfw:comment>http://timmaxey.net/comments/26.aspx</wfw:comment>
            <comments>http://timmaxey.net/archive/2010/03/05/plat-maps-plot-maps-parcel-boundaries.aspx#feedback</comments>
            <wfw:commentRss>http://timmaxey.net/comments/commentRss/26.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Blackberry BB Curve Facebook Photo Upload</title>
            <category>JavaScript</category>
            <link>http://timmaxey.net/archive/2009/09/24/blackberry-bb-curve-facebook-photo-upload.aspx</link>
            <description>Facebook downgrade&lt;br /&gt;
&lt;br /&gt;
Ok I had an issue with my new Blackberry curve and Facebook. The photo upload sucked! So I did some research and I found a post for version 1.5 of Blackberry Facebook software.&lt;br /&gt;
&lt;br /&gt;
Version 1.5 is the version that worked!!! &lt;a href="http://www.timmaxey.com/dl/Facebook_1.5.0c.zip"&gt;Here is a link to my zip file that worked&lt;/a&gt;. And &lt;a href="http://forums.crackberry.com/f52/downgrade-facebook-254961/" target="_blank"&gt;here is the post&lt;/a&gt;. Note my zip file was for BB 4.5, not 4.6, BUT the post has both versions...&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://timmaxey.net/aggbug/25.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Maxey</dc:creator>
            <guid>http://timmaxey.net/archive/2009/09/24/blackberry-bb-curve-facebook-photo-upload.aspx</guid>
            <pubDate>Fri, 25 Sep 2009 02:01:03 GMT</pubDate>
            <wfw:comment>http://timmaxey.net/comments/25.aspx</wfw:comment>
            <comments>http://timmaxey.net/archive/2009/09/24/blackberry-bb-curve-facebook-photo-upload.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://timmaxey.net/comments/commentRss/25.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Full Text Index on SQL Express</title>
            <category>SQL (Miscrosoft) TSQL</category>
            <link>http://timmaxey.net/archive/2009/06/15/full-text-index-on-sql-express.aspx</link>
            <description>&lt;p&gt;On SQL Express I had to do the following to get FULLTEXT index setup. I also had to make sure there was a primary key, then I went to the design of the table and right clicked on the primary key (or any colum) and select the fulltext index, when the dialog came up on the right side I selected the columns I wanted to add, click close and I was set...&lt;/p&gt;
&lt;p&gt;use mydatabase&lt;/p&gt;
&lt;p&gt;exec sp_fulltext_database 'enable'&lt;br /&gt;
go&lt;br /&gt;
exec sp_fulltext_catalog 'tblMyTable', 'create'&lt;br /&gt;
go&lt;/p&gt;&lt;img src="http://timmaxey.net/aggbug/24.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Maxey</dc:creator>
            <guid>http://timmaxey.net/archive/2009/06/15/full-text-index-on-sql-express.aspx</guid>
            <pubDate>Mon, 15 Jun 2009 19:59:16 GMT</pubDate>
            <wfw:comment>http://timmaxey.net/comments/24.aspx</wfw:comment>
            <comments>http://timmaxey.net/archive/2009/06/15/full-text-index-on-sql-express.aspx#feedback</comments>
            <wfw:commentRss>http://timmaxey.net/comments/commentRss/24.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Javascript clickable slideshow</title>
            <category>JavaScript</category>
            <link>http://timmaxey.net/archive/2009/05/14/javascript-clickable-slideshow.aspx</link>
            <description>&lt;p&gt;&lt;font face="Arial"&gt;I did NOT write this, I wanted a javascript slidshow to show off project screen shots and found this code and wanted to make sure I had it in my archives to search for later! Got this off: &lt;font face="Arial"&gt;&lt;a target="_blank" href="http://www.javascriptkit.com/howto/show3.shtml"&gt;http://www.javascriptkit.com/howto/show3.shtml&lt;/a&gt;&lt;/font&gt; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;in head:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
//preload images&lt;br /&gt;
var image1=new Image()&lt;br /&gt;
image1.src="images/screenshot.jpg"&lt;br /&gt;
var image2=new Image()&lt;br /&gt;
image2.src="images/screenshot2.jpg"&lt;br /&gt;
var image3=new Image()&lt;br /&gt;
image3.src="images/screenshot3.jpg"&lt;br /&gt;
var image4=new Image()&lt;br /&gt;
image4.src="images/screenshot4.jpg"&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;In the body where you want the "images" to show up...&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;&amp;lt;a href="javascript:slidelink()"&amp;gt;&lt;br /&gt;
&amp;lt;img src="images/screenshot.jpg" name="slide" border="0" width="492" height="354" /&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
var step=1&lt;br /&gt;
var whichimage=1&lt;br /&gt;
function slideit(){&lt;br /&gt;
if (!document.images)&lt;br /&gt;
return&lt;br /&gt;
document.images.slide.src=eval("image"+step+".src")&lt;br /&gt;
whichimage=step&lt;br /&gt;
if (step&amp;lt;4)&lt;br /&gt;
step++&lt;br /&gt;
else&lt;br /&gt;
step=1&lt;br /&gt;
setTimeout("slideit()",4000)&lt;br /&gt;
}&lt;br /&gt;
slideit()&lt;br /&gt;
function slidelink(){&lt;br /&gt;
if (whichimage==1)&lt;br /&gt;
window.location="page1.html"&lt;br /&gt;
else if (whichimage==2)&lt;br /&gt;
window.location="page2.html"&lt;br /&gt;
else if (whichimage==3)&lt;br /&gt;
window.location="page3.html"&lt;br /&gt;
else if (whichimage==4)&lt;br /&gt;
window.location="page4.html"&lt;br /&gt;
}&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://timmaxey.net/aggbug/23.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Maxey</dc:creator>
            <guid>http://timmaxey.net/archive/2009/05/14/javascript-clickable-slideshow.aspx</guid>
            <pubDate>Thu, 14 May 2009 17:49:15 GMT</pubDate>
            <wfw:comment>http://timmaxey.net/comments/23.aspx</wfw:comment>
            <comments>http://timmaxey.net/archive/2009/05/14/javascript-clickable-slideshow.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://timmaxey.net/comments/commentRss/23.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Javascript select ASP.NET Checkboxlist items</title>
            <category>VB.NET Code</category>
            <category>JavaScript</category>
            <link>http://timmaxey.net/archive/2009/04/17/javascript-select-asp.net-checkboxlist-items.aspx</link>
            <description>&lt;p&gt;Ok I needed a function that would select certain CheckBoxList items of an ASP.NET CheckBoxList, so here it is, hope is helps someone else out!&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;if you want I use this function hightlight the item in yellow:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;function uStyle(cb) {&lt;br /&gt;
   cb.parentNode.style.backgroundColor = cb.checked ? "yellow" : "";&lt;br /&gt;
&lt;/font&gt;&lt;font face="Arial"&gt;   cb.parentNode.style.color = cb.checked ? "blue" : "";&lt;br /&gt;
}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;function doCertainOnes(cbControl) {&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;    var chkBoxList = document.getElementById(cbControl);&lt;br /&gt;
    var chkBoxCount = chkBoxList.getElementsByTagName("input");&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;&lt;font face="Arial"&gt;    chkBoxCount[5].checked = true;&lt;br /&gt;
    chkBoxCount[5].focus();    //GOING TO JUMP DOWN IN THE LIST TO THE FIRST SELECTED        &lt;br /&gt;
    uStyle(chkBoxCount[5]);&lt;br /&gt;
    chkBoxCount[6].checked = true;&lt;br /&gt;
    uStyle(chkBoxCount[6]);&lt;br /&gt;
    chkBoxCount[7].checked = true;&lt;br /&gt;
    uStyle(chkBoxCount[7]);&lt;/font&gt;&lt;br /&gt;
  &lt;br /&gt;
  for (var i = 10; i &amp;lt; 50; i++) {&lt;br /&gt;
       chkBoxCount[i].checked = true;&lt;br /&gt;
       uStyle(chkBoxCount[i]);&lt;br /&gt;
    }&lt;br /&gt;
&lt;/font&gt;&lt;font face="Arial"&gt;}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I am selecting items (array) 5, 6, 7 and 10 through 49 in the list, now you can repeat the for loop and select different ones to. I happen to know that there will always be 100 items in the checkbox list and which ones they are... I use the "focus()" function to jump to the first item selected in the list...&lt;br /&gt;
&lt;br /&gt;
Use it like this:&lt;br /&gt;
&lt;br /&gt;
&lt;font face="Arial"&gt;&amp;lt;a href="JavaScript:doCertainOnes('&amp;lt;% =CheckBoxList1.ClientID %&amp;gt;');"&amp;gt;Select My Favs&amp;lt;/a&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://timmaxey.net/aggbug/22.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Maxey</dc:creator>
            <guid>http://timmaxey.net/archive/2009/04/17/javascript-select-asp.net-checkboxlist-items.aspx</guid>
            <pubDate>Fri, 17 Apr 2009 19:02:51 GMT</pubDate>
            <wfw:comment>http://timmaxey.net/comments/22.aspx</wfw:comment>
            <comments>http://timmaxey.net/archive/2009/04/17/javascript-select-asp.net-checkboxlist-items.aspx#feedback</comments>
            <wfw:commentRss>http://timmaxey.net/comments/commentRss/22.aspx</wfw:commentRss>
        </item>
        <item>
            <title>ASP.NET cookie auto log in</title>
            <category>VB.NET Code</category>
            <link>http://timmaxey.net/archive/2009/03/06/asp.net-cookie-auto-log-in.aspx</link>
            <description>Ok it is NEVER a good idea to store a cookie on a client's machine with an ID or username and password in the cookie. Can steal the cookie. Come on, cookies are good to eat, chocolate chip cookies are my fav! Anyway, take a look at this, I think joomla does this and I don't take all the credit, but this works great:&lt;br /&gt;
&lt;br /&gt;
1. Obviously a login.aspx page with a checkbox to save my login.&lt;br /&gt;
&lt;br /&gt;
2. Evertime the user is logged in, either themselves or through the cookie, it deletes the old one in the table and writes a new one in the table and updates the client's cookie, or adds the cookie on the client&lt;br /&gt;
&lt;br /&gt;
I call this function when the log in is successful&lt;br /&gt;
&lt;br /&gt;
&lt;font size="1"&gt;Public Sub doChocolateChipCookies()&lt;br /&gt;
&lt;br /&gt;
        Using cooks As New dsTableAdapters.cookiesTableAdapter &lt;span style="color: rgb(255, 0, 0);"&gt;(I use dataset object)&lt;/span&gt;&lt;br /&gt;
            Dim q, s, t As String&lt;br /&gt;
            Dim expires As Date&lt;br /&gt;
&lt;br /&gt;
            q = &lt;span style="color: rgb(255, 0, 0);"&gt;(a GUID the is stored in the user table) STORED IN THE USER TABLE&lt;/span&gt;&lt;br /&gt;
            s =&lt;span style="color: rgb(255, 0, 0);"&gt; (this is the current sessionID from the server I save) STORED IN THE USER TABLE&lt;/span&gt;&lt;br /&gt;
            t = &lt;span style="color: rgb(255, 0, 0);"&gt;RandomQIDNumber() (see function below) THIS IS NEW EACH TIME&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
            Dim dt As New Data.DataTable&lt;br /&gt;
            dt = cooks.GetDataByExpires(q)&lt;br /&gt;
            If dt.Rows.Count &amp;gt; 0 Then&lt;br /&gt;
                expires = dt.Rows(0)("expires")&lt;br /&gt;
            Else&lt;br /&gt;
                expires = Date.Today.AddDays(90)&lt;br /&gt;
            End If&lt;br /&gt;
            dt.Dispose()&lt;br /&gt;
&lt;br /&gt;
            Response.Cookies("epauth")("epq") = q 'guid to look up user to log them in with&lt;br /&gt;
            Response.Cookies("epauth")("eps") = s 'series to match with token from db and cookie sent&lt;br /&gt;
            Response.Cookies("epauth")("ept") = t 'token to match with db and cookie&lt;br /&gt;
            Response.Cookies("epauth").Expires = expires&lt;br /&gt;
&lt;br /&gt;
            'if the "s" does NOT match "t", someone could have stollen the cookie we will clear all cookies from the db&lt;br /&gt;
            'and require the user to login again...&lt;br /&gt;
&lt;br /&gt;
            'remove any old cookies from db&lt;br /&gt;
            cooks.DeleteQuery(q, s) &lt;span style="color: rgb(255, 0, 0);"&gt;on every login, or cookie login, see later in this post, we delete old cookies out of the table&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
            'add new one&lt;br /&gt;
            cooks.Insert(q, s, t, expires)&lt;br /&gt;
        End Using&lt;br /&gt;
    End Sub&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;font size="1"&gt;Public Function RandomQIDNumber() As String&lt;br /&gt;
        Return String.Format("{0}{1}", System.Guid.NewGuid, Now.Second)&lt;br /&gt;
End Function&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
Ok, now when the session expires because I store info in session and in a session table in SQL 08 (my sessions are stored via SQL, not cookie based) I call this function and pass in the cookie if a cookie is found&lt;br /&gt;
&lt;br /&gt;
&lt;font size="1"&gt;If Not Request.Cookies("epauth") Is Nothing Then&lt;br /&gt;
   If Not checkChocolateChipCookie(Request.Cookies("epauth")) Then&lt;br /&gt;
                        Session("epexp") = "y"&lt;br /&gt;
                        Response.Redirect("login.aspx")&lt;br /&gt;
    End If&lt;br /&gt;
End If&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;font size="1"&gt;Public Function checkChocolateChipCookie(ByVal cookie As HttpCookie) As Boolean&lt;br /&gt;
&lt;br /&gt;
        Dim cooks As New dsTableAdapters.cookiesTableAdapter&lt;br /&gt;
        Dim q, s, t As String&lt;br /&gt;
        Dim dt As New Data.DataTable&lt;br /&gt;
        Dim bln As Boolean&lt;br /&gt;
&lt;br /&gt;
        q = cookie.Item("epq")&lt;br /&gt;
        s = cookie.Item("eps")&lt;br /&gt;
        t = cookie.Item("ept")&lt;br /&gt;
&lt;br /&gt;
        dt = cooks.GetDataByAuth(q, s, t) &lt;span style="color: rgb(255, 0, 0);"&gt;so I have a cookie table in the db and a ds routine that gets a table by all three values&lt;/span&gt;&lt;br /&gt;
        If dt.Rows.Count &amp;gt; 0 Then&lt;br /&gt;
            'lets setup a currentuser&lt;br /&gt;
            Session("CurrentUser") = New objUser(q) &lt;span style="color: rgb(255, 0, 0);"&gt;I have an objUser class&lt;/span&gt;&lt;br /&gt;
            doChocolateChipCookies() &lt;span style="color: rgb(255, 0, 0);"&gt;setup a new cookie delte the old one&lt;/span&gt;&lt;br /&gt;
            bln = True&lt;br /&gt;
        Else&lt;br /&gt;
            'possible security issue, remove all&lt;br /&gt;
            cooks.DeleteQuery1(q)&lt;br /&gt;
            bln = False&lt;br /&gt;
        End If&lt;br /&gt;
        dt.Dispose()&lt;br /&gt;
        cooks.Dispose()&lt;br /&gt;
        Return bln&lt;br /&gt;
&lt;br /&gt;
    End Function&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this helps!&lt;img src="http://timmaxey.net/aggbug/21.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Maxey</dc:creator>
            <guid>http://timmaxey.net/archive/2009/03/06/asp.net-cookie-auto-log-in.aspx</guid>
            <pubDate>Fri, 06 Mar 2009 15:20:04 GMT</pubDate>
            <wfw:comment>http://timmaxey.net/comments/21.aspx</wfw:comment>
            <comments>http://timmaxey.net/archive/2009/03/06/asp.net-cookie-auto-log-in.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://timmaxey.net/comments/commentRss/21.aspx</wfw:commentRss>
        </item>
        <item>
            <title>WebForm_DoPostBackWithOptions vs __doPostback</title>
            <category>VB.NET Code</category>
            <category>C# .NET Code</category>
            <link>http://timmaxey.net/archive/2009/03/01/webform_dopostbackwithoptions-vs-__dopostback.aspx</link>
            <description>Hi there guys, had an issue with WebForm_DoPostBackWithOptions vs __doPostback. WebForm_DoPostBackWithOptions started showing up on a page and not showing up on other .NET pages. It was a pain in my butt! Because WebForm_DoPostBackWithOptions wasn't working, all my linkbutton had this javascript function rendered and none of the events were firing!&lt;br /&gt;
&lt;br /&gt;
So after looking around I found out that I had some panels that were hidden on the page. And in one of those panels, I have a validation control, if a validation control is "hidden" on the page (the panel's visibility is set to false and later made visible) then .NET adds WebForm_DoPostBackWithOptions to the button controls and thus does not work.&lt;br /&gt;
&lt;br /&gt;
To fix this I had to change the linkbuttons that were not hidden to cause validation to false. (CauseValidation=False). Once I did that, it work! What a pain in the butt!&lt;img src="http://timmaxey.net/aggbug/20.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Maxey</dc:creator>
            <guid>http://timmaxey.net/archive/2009/03/01/webform_dopostbackwithoptions-vs-__dopostback.aspx</guid>
            <pubDate>Mon, 02 Mar 2009 01:53:38 GMT</pubDate>
            <wfw:comment>http://timmaxey.net/comments/20.aspx</wfw:comment>
            <comments>http://timmaxey.net/archive/2009/03/01/webform_dopostbackwithoptions-vs-__dopostback.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://timmaxey.net/comments/commentRss/20.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>