Jump to content

ASPete

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

2 Neutral

About ASPete

  • Rank
    Newbie

Previous Fields

  • Languages
    ASP, VBScript, JavaScript, SQL,(X)HTML/HTML,Z80-Assembler

Profile Information

  • Location
    New York City
  • Interests
    Database design (MS SQL-Server), Music, Electronic Music, lots others. Video Production and Editing, film making.
  1. I'm new to the W3Schools site and I noticed that there are responsive templates for free use. They look pretty nice and are great examples to review for learning purposes. However, unless I missed it, there seem to be no links to download any of these templates. I can do a view-page-source to copy the code, and any associated items referenced, but that could result in incomplete downloads, and it seems there should be a better way. If this issue is addressed elsewhere please advise. Thanks!
  2. Yikes: Technically speaking there should only be 1 global.asa file for a website. Actually however, you can have "nested virtual roots" (refer to: http://support.microsoft.com/kb/173307 for info) that contain their own global.asa files but that can really complicate the entire issue. So, in theory, yes, you can have multiple global.asa files but I would stay away from any site structure like that because of the issues it poses. Question 1) It depends on how you've set up your site (and also how you've defined it in IIS assuming you have admin ability to access the IIS server) but generally your application should be defined as starting from the root folder for that site. Question 2) Unless you know how to set up nested virtual roots then yes, I would put the cart vendor's global.asa file in the site's root and us it from there and factor in your own code you require for the global.asa. Question 3) There's no assurance the global.asa file in the shop directory will be read. Question 4) A single global.asa file should always be placed into the root folder of the site (according to Microsoft). Question 5) You can't, because you can't ensure that the global.asa file in any sub-directory will be run. Question 6) As far as I know, as long as a visitor hits the site either to an HTML file or an ASP file, the global.asa file, if it exists, would be run with the sessionOnStart. So in theory a bookmarked page that is to an HTML file should not matter, i.e. it would trigger the sessionOnStart. Question 7) Guess you're referring to the ApplicationOnEnd event: My own experience with this has been that as long as the server is stopped then restarted. But there can be issues where that might not work requiring a true reboot of the machine. Question 8) Yes, applicationOnEnd does work but I have experienced inconsistencies with it. Question 9) Assuming your cart app does not require a database to store session information, probably your cart application might not work.
  3. Thanks Moderator, that seems to be a big improvement !
  4. ASPete

    Advantages ......?

    My personal opinion is to stay away from flash video (.FLV video files) - and I emphasize "flash video" as opposed to flash which is a programming environment - for three main reasons: 1) Flash video requires the flash player and the flash player is not usable on iOS devices such as the iPAD, iPHONE - if those devices matter to you - and they should because they are becoming more and more ubiquitous. 2) The flash player can, with version 9.3 or greater I believe, play MP4 video (that's also know as AVCHD/H.264). So, in cases where you need to provide video that can play on both regular desktops either Windows or Macs where the flash player IS allowed, MP4 video on those devices will work. In cases where you cannot use the flash player, iOS devices do support the MP4 video format so should have no problem with them (not considering size and bit-rate issues). Using a common format for video,such as the MP4 format, makes using the same video easier to use on both regular PCs and Macs and also mobile devices (though you may still need to re-encode your videos to match the screen sizes more effectively. 3) The other reason to stay away from flash video (.flv) is that it uses older codecs that do not produce the higher quality of H.264 encoded video (AVCHD/MP4) that are possible. As for using Flash itself as a programming environment, that's a different matter altogether. Flash is pretty amazing, though not all that easy to master. But there are things you can do in Flash in terms of animation that are pretty spectacular and that are not easily accomplished, or impossible, any other way. But that is changing. But unless you're writing games, excessive animation on the web can become a real distraction - and it's now considered bad design for many reasons. The trend these days with web design is to steer clear of fancy or unnecessary animation - which is what has given Flash a bad reputation. But I personally love Flash. And if it's used properly it can produce spectacular results.
  5. Don't know if this is doable with this version of Forum software but I'd like to suggest that the link shown as "W3Schools.com" that appears from within the forum's menu (i.e. W3Schools.com Forums Members Calendar) work as a "target="_blank". Currently if you click the W3Schools.com link form within the forum it takes you to the main W3School.com home page within the same context window, i.e. you loose the forum window (not the connection into it). Although you can always click the Forum link at the bottom of the main site's pages, that can be inconvenient because it does not keep your current page within the forum when you return. Thanks.
  6. You didn't say what version of Windows you're using: Try going into Control Panel and selecting Add/Remove programs but then look for Add/Remove Windows Features. In the Add/Remove Windows features dialog (or window) will be shown a list of items (services, etc) IIS should be listed if you version of Windows has IIS as part of its features that can be activated/deactivated.
×
×
  • Create New...