Search

You searched for the word(s): userid:229793

Matching Posts

  • Cloaking your Referer URL from other Sites?

    I'm trying to figure out how to cloak/spoof my site referering URL from other sites. I'd like to make my referer URL either blank/empty or change it, so that a site that is sent a visitor from my site can't figure out the URL of my site. Does anyone know how to go about doing this. I've tried using the following without much luck: /// &lt;summary&gt; /// // assumes a fully-qualified "http://" url /// </summary> public static void CloakRefererUrl( string myUrl
    Posted to Security (Forum) by developerJamiro on 6/8/2009
  • Re: External table is not in the expected format.

    I was getting the error "External table is not in the expected format." when trying to use an Excel 2007 file with a connection string that uses: Microsoft.Jet.OLEDB.4.0 and Extended Properties=Excel 8.0, Instead try using a connection string like: "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" + Server.MapPath(fileNamePath) ; Extended Properties=Excel 12.0;" ; I believe this new connection string should work for both .xlsx and .xls Excel files. Excel 2007 files are typically
    Posted to Other Databases (Forum) by developerJamiro on 6/27/2008
  • Regex Question: How To Shorten Description without removing HTML Tags

    How would you shorten a description to a certain length with Regular Expressions that has HTML tags. I'd like to keep the HTML tags but not have them "calculated" in the shortening of the description. And also the end tag of an HTML tag must not be clipped out...for instance I don't want to remove the last </strong> tag. Here's how I currently shorten a description, but this method takes out the HTML tags (which I don't want). public static string ShortenDescription
    Posted to Web Forms (Forum) by developerJamiro on 1/18/2008
  • Re: Safari browser and asp:menu

    Thanks, michielvoo.... Adding the safari.browser file to the App_Browsers folder with this is what solved my problem. ------------------------------------------------------------------------------------------ < browsers > < browser refID= "safari1plus" > < controlAdapters > < adapter controlType= "System.Web.UI.WebControls.Menu" adapterType="" /> </ controlAdapters > </ browser > </ browsers > -------------------------------
  • Re: <asp:wizard> how to hide next button.

    You can also hide the Next and Previous step buttons like this: < StepNavigationTemplate > < asp : Button ID ="StepNextButton" runat ="server" CausesValidation ="false" CommandName ="MoveNext" Text ="Next" Visible ="false" /> < asp : Button ID ="StepPreviousButton" runat ="server" CausesValidation ="False" CommandName ="MovePrevious" Text ="Previous" Visible ="False"
    Posted to Web Forms (Forum) by developerJamiro on 1/4/2008
  • Re: NumericUpDownExtender within CollapsiblePanelExtender - buttons out of position in Firefox, more info

    I couldn't get the standard Up/Down buttons to align correctly, so I just decided to use ImageButtons for the Up and Down buttons. This issue should probably be posted in the AjaxToolKit issues forum at Codeplex, if it isn't already.
  • Re: Default Asp.net 2.0 Internet Url Validation?

    Here's a slight update to the Url Regex: http(s)?://([\w-]+\.)+[\w-]+([\w\-\.,@?^=%&amp; :/~\+#\(\)]*[\w\-\@?^=%&amp; /~\+#\(\)])? I've added a space after both "&amp; " and added a ? to the end.
    Posted to Web Forms (Forum) by developerJamiro on 7/12/2007
  • Re: unlock a User automatically

    Here's a way to automatically unlock users with asp : Login's OnLoggingIn event. Just be sure to add OnLoggingIn ="Login1_LoggingIn" to the Login control. protected void Login1_LoggingIn( object sender, LoginCancelEventArgs e) { int passwordAttemptLockoutDuration = Membership.PasswordAttemptWindow; MembershipUser mu = Membership.GetUser(Login1.UserName, false ); if ((mu != null ) && (mu.IsLockedOut) && (mu.LastLockoutDate.ToUniversalTime().AddMinutes(passwordAttemptLockoutDuration
    Posted to Security (Forum) by developerJamiro on 6/22/2007
  • Re: Default Asp.net 2.0 Internet Url Validation?

    Well here is the regex I came up with to validate a Internet Url: http(s)?://([\w-]+\.)+[\w-]+([\w\-\.,@?^=%&amp;:/~\+#\(\)]*[\w\-\@?^=%&amp;/~\+#\(\)]) It validates all of the links above. If you know of any other Url's that aren't able to be validated using this regular expression, please post them, or if you have a better regex solution.
    Posted to Web Forms (Forum) by developerJamiro on 5/23/2007
  • Re: Default Asp.net 2.0 Internet Url Validation?

    Additional: ASP.NET default Internet URL regular expression: http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? also does not validate a url with a directory name (or file name) that has a: +, ~, :, (, ), "," comma, # For example: The following URLs will not validate using ASP.NET's default Internet URL regex: http://casa.colorado.edu/~skinners/coolback.html http://en.wikipedia.org/wiki/User:Jimmy http://en.wikipedia.org/wiki/Stuff_(magazine) http://www.eweek.com/article2/0,1895,1991365
    Posted to Web Forms (Forum) by developerJamiro on 5/23/2007
Page 1 of 7 (61 items) 1 2 3 4 5 Next > ... Last »