Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jondow

  1. jondow

    How to perform 301 redirects through asp.net 4 / IIS7

    Hi All, I asked the below question in the asp.net forum but its been suggested this could be handled through IIS rather than through code. Could anyone advise please? I have a number of domain names pointing at the same website, for example: http://a.com http://www.a.com http://b.com...
  2. jondow

    How do I best achieve permanent 301 redirects with IIS7/.NET 4

    Hi Jason, Thanks for the reply, I thought I may be able to do this with HTTP Redirect in IIS7 but when I set "redirect requests to this destination" I got a page not found error on the site. I'll try re-posting there and see what suggestions I get. Rick
  3. jondow

    How do I best achieve permanent 301 redirects with IIS7/.NET 4

    Hello all, I have a number of domain names pointing at the same website, for example: http://a.com http://www.a.com http://b.com http://www.b.com Which is effectivly duplicate content from a search engine perspective, so what I want to do is 301 redirect all traffic to http://www.a.com, so a...
  4. jondow

    Use secondary IP address for RDP traffic

    Thanks for the replies. kmcferrin - good point, I will change the port. itsp1965 - thats what I was hoping, I'm just not sure how to go about it, by interface do you mean network connection? Rick
  5. jondow

    Use secondary IP address for RDP traffic

    Hi All, I have just purchased a VPS running Windows 2008 R2 Web. I have 2 IP addresses with the server, I want to use the primary for web traffic (the server is going to host one website) and I want to restrict RDP traffic to the second IP address. Can anyone set me on the right course to do...
  6. jondow

    SQL 2005: Find longest sequence of events within a table

    Wow, lots of responses, thank you all! I'll have a play with the solutions and see where I end up. Thanks again. Rick
  7. jondow

    SQL 2005: Find longest sequence of events within a table

    Hi all, I have a table of football results which in its most basic form contains columns for team, date and result (Win,Lose). Can anyone suggest a way to find the longest run of wins/losses for any team in the table without using a cursor? The longest run should be limited to a single team...
  8. jondow

    Creating one ObjectContext instance per HTTP request - EF & ASP.NET

    Thanks for this Jason, I'll have a good read through later. Rick
  9. jondow

    Creating one ObjectContext instance per HTTP request - EF & ASP.NET

    VS 2010, .NET 4.0, C# Hello All, I’m currently planning a new web app and intend to use entity framework for the first time. I have read a few articles that say that one ObjectContext instance should be created per HTTP request and I’m trying to find out how this can be implemented. I have...
  10. jondow

    Alter menu links in sitemap driven menu

    Not to worry, I have done it on the menuitemdatabound. Rick
  11. jondow

    Alter menu links in sitemap driven menu

    Using VB.NET 2.0 with VS2005 Hi All, I have a sitemap driven menu on my website, I need tio be able to dynamically add the the url of each link item, so for example the element: <siteMapNode url="Test.aspx" title="Test" description="Test" /> ...needs be have its link converted to...
  12. jondow

    Access cache from class file

    Just what I needed, thanks!
  13. jondow

    Access cache from class file

    Hi All, I have a asp.net code behind page (2.0 vb.net) which adds to the cache in the the format System.Web.Caching.Cache.Add("mycache",....... I want to be able to access the cache from a separate class file like so Dim c = System.Web.Caching.Cache("mycache") but get the error "Cache is a...
  14. jondow

    Pass through query efficiency

    OK, thanks George.
  15. jondow

    Pass through query efficiency

    Hi All, Im just just wondering which method is more efficent and the pros and cons of each of the following two: Pass-through query Select * from table1 Inner Join Openquery('links','Select * from table2') ls on table1.id = ls.id And Select * from table1 Inner Join Server.Database.dbo.table2...

Part and Inventory Search

Back
Top