Search

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

Matching Posts

  • setting a compile-time variable in my aspx file?

    I've recently discovered the expires Http header and how to set it to save a lot of bandwidth on my site via caching. I've also discovered that by changing the reference in my javascript/css includes by updating a query string in my references I can invalidate the cached entry and force the browser to ask for a fresh copy. E.g:: ...include... mystyles?date=20091026 anytime the date gets updated the browser will request a new version What I need to know is.... is there a way to set 2009-10
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 10/25/2009
    Filed under: expires header querystring compile time variable
  • Spambots generating 'System.Web.HttpUnhandledException'

    Hey guys, I have a major headache with spambots generating thousands of System.Web.HttpUnhandledExceptions on my site. They seem to be trying to register new users. However their attempt to register new users is resulting in a System.Web.HttpUnhandledException; I am not sure why this exception is being thrown - although its probably a good thing right now, as I don't have a Captcha system in place!! Can anyone tell me why this is being thrown and what I can do about it? I've implemented the
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 10/6/2009
    Filed under: spambots HttpUnhandedException
  • Re: Spambots generating 'System.Web.HttpUnhandledException'

    I think the problem is the MVC Checkbox helper. The spambot feels the need to populate the hidden field with a value, and therefore is posting terms=true&terms=randomvalue I think MVC is barfing because the value is being sent twice? Any ideas howI can catch this. I am nervous about catching it in Application_Error - what if the exception is thrown because of a genuine error and I need to know about it to fix it?
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 10/6/2009
  • Re: Duplicate Title Tags

    My goodness they make us bend over backwards! Still it works fine! Thanks!
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 5/8/2009
  • Duplicate Title Tags

    All my pages have duplicate title tags, but there is no title tag specified in the Master. I know there was a big problem with Title tags in the Beta the 'controls collection cannot be modified thing'. But I thought it had been totally fixed; or did they just leave the extra title tag in the end?
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 5/5/2009
    Filed under: aspnetmvc title tags duplicate
  • cookieless="autodetect" not working in MVC

    I am using FormsAuthenticaion in my ASP.NET MVC Application. A couple of my users are unable to log in as they do not have cookies enabled. I tried using the cookieless=autodetect attribute, but it doesn't seem to work. When cookies are disabled, the autodetect feature makes all URLS into it http://www.domain.net/(X(1))/ as expected leaving a placeholder for the authentication token in the URL, however I am still unable to log in - it never populates the URL with the authentication token. if
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 3/30/2009
    Filed under: cookies cookieless autodetect aspnetmvc mvc
  • Re: Keeping code blocks neat and tidy

    Perfect! Unchecking "Place open Brace on new Line for Control Blocks" seems to do the trick! thanks!
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 3/19/2009
  • Re: Keeping code blocks neat and tidy

    Sorry I posted to the wrong forum! I am using asp.net MVC so code-behind == bad!! [edit] No... this is the ASP.NET MVC forum! :-) Much confusion!! Anyway as I said code-behind == bad! Or in the latest Release Candidate. Code-behind == null - they took out code behind files becase you don't need them.
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 3/18/2009
  • Keeping code blocks neat and tidy

    Can anyone tell me how I can stop this: <% if(ViewData.Model.hasError) { %> < div >Error message</ div > <% } %> turning into this: <% if(ViewData.Model.hasError) { %> < div >Error message</ div > <% } %> I'm not sure if it makes a difference, but I'm using resharper but I'm wondering if anyone has some VS settings that can help. Obviously I want my braces on lines of their own in .cs files, but I think in ASPX files its much tidier if I
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 3/17/2009
    Filed under: codeblocks visualstudio settings
  • Search engine crawler weirdness

    Hey guys. I've put a site live in ASP.NET MVC in the last month. I'm seeing some weridness when it comes to search engine spiders. I have the forum part of my web site SEO'd using routes that allow me to show the forum name and thread subject followed by the ID eg: www.site.com/forum/Sport_and_fitness_forum/Anyone_Play_Badminton/4958 the "sport_and_fitness" and "any_one_play_badminton" aren't used for anything except the URL for search engine/adsense optimization
    Posted to ASP.NET MVC (Forum) by reach4thelasers on 3/14/2009
    Filed under: aspnetmvc 404 System.Web.HttpException
Page 1 of 3 (25 items) 1 2 3 Next >