johnnyg24

Members
  • Content count

    180
  • Joined

  • Last visited

Community Reputation

0 Neutral

About johnnyg24

  • Rank
    Member
  1. Thank you, all of my .js and .css are relative links or if they are third party links, like bootstrap, I don't specify the protocol, I just use //www.example.css. This is where I was wondering if these files were cached and now the page is requesting SSL content that the mix-content would apply in these situations.
  2. I recently added some security to webpages on our site which previously were not secure. After redirecting our users to the SSL version, some people are complaining that the website will not complete their request while others pass on through without a hitch. Where the problem seems to arise is when they are trying to submit forms. I believe I have resolved all of the 'mix-content' issues that were throwing errors for me but others may still be having the same issue. Could these pages in question be cached somewhere and therefore mix-content is still being delivered to these users? The SSL we are using is SHA-2 Thank you,
  3. The .css and .js files that I place within each folder are unique to that page and only that page. Common files are all stored in one place. I opt not to include page specific .css and .js in my common files because they are not needed on every page and some users will never need them or visit the page where they are applicable. I was thinking of apply the same concept to any class files that are specific to a page. Keeping all non-common files in their own folder structure helps me locate and update resources. I know it doesn't matter where I keep .css and .js files but I'm unsure of if that applies to my class files as well. I guess another way to ask my question would be will storing class files in separate folders have any negative performance issues and could I be creating a nightmare for the next coder that comes along to work on my website?
  4. I have been remodeling our website from classic ASP to vb.net over the past few months and being new to the .net world I was wondering if someone could tell me the benefits of creating a class library to hold all of my classes. I currently have a class library for not only common classes but also for classes that are specific to a single web page. Historically I prefer to keep all resources (ex: .css and .js files) about a page within the folder where the page resides. So if I have a root>sales>index.vbhtml then I like to keep any page specific .css and .js inside the root>sales folder. I would prefer to keep any classes specific about that page inside the root>sales folder as well. Is this bad practice and should I continue to put all classes inside my class library? Thank you,
  5. one last quaestion I promise, when a user run the page for the first time and it's compiled, will it remain complied for every subsequent vistor or will each uniqe visitior compile the page over again on their first visit?
  6. Thank you, How do I compile the website, do I click on Build > Build Web Site? And what's the best way to tell if the webpage has been complied? Is there way for me see to a compiled version in a folder somewhere or a list of complied files?
  7. Thank you Foxy Mod, I am using the default page that VS creates as part of their website package so there are no images. I was wondering if I need to "Build Web Site" or "Publish Web App" first?
  8. I'm in the process of converting my entire site from classic asp to asp.net. I've down loaded visual studios 2015 community addition and I'm trying to learn how to build an asp.net web site (razor v3) in VB from scratch. Please keep in mind I've used Dreamweaver 8 for the past 6 years so I know nothing about visual studios. I can hit the default.vbhtml web page from my browser but the first time I visit the page it can take 5-10 seconds to load. Each subsequent visit loads very quickly. Do I need to do anything with this website before just saving it to my server? Will these pages take this long for another visitor to see on there first visit? Sorry for what is probably a silly question but this almost an entirely new language to me. Thank you,
  9. I'm looking for a way to exclude all related records if one column has a particular value. Here is an example: ID | BOOK A | 1234 A | 5678 A | 9101 B | 5678 B | 9101 C | 5678 if BOOK = '1234' then exclude all ID = 'A'. My desired output would be: ID | BOOK B | 5678 B | 9101 C | 5678 Is there a way to do this? -Thanks
  10. got it. I had the include wrapped in <% %> tags in send.asp. I removed them and it works fine now. Thanks for trying.
  11. no. I even tried putting "Hello world" in a Sub and tried calling it from send.asp, still no luck. I use includes all over my site and they all work just fine.
  12. I have that, sorry, I just wrote it wrong in this post.
  13. I'm scratching my head on this one. I have a file located website/email/notifications/newcust/email.asp I am trying to include this file in website/email/notifications/send.asp email.asp file: "Hello World" send.asp file: <!-- #include file="newcust/email.asp" --> however, send.asp is blank when I run it. Any ideas? It seems as though it is not actually including email.asp
  14. Is there a way to custom sort a recordset? If I have a recordest with ID's: ID ------ A B C and I want to sort it to look like: ID ------ B A C How would I do this? I would know the exact sort sequence ahead of time.
  15. Thanks, I did a little more digging and it may not be possible to use a case statement with Excel. Maybe I should look into sorting the Recordset set after the query??