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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. GaryC123

    Trying to resolve a timeout issue

    Umm? <% session.timeout = 20 %> This in your ASP page will override the IIS setting unless IIS has been set to not allow timeout overriding http://www.eatdrinkandsleep.com
  2. GaryC123

    Check if popup exists

    I wouldnt be asking how to do this if I knew how. Your code clears the original popup which is as I've said no use. I need to be able to check if it exists without clearing it. if(to1!=0){ // Must check here to see if the window is open // Only proceed if it isn't newwin =...
  3. GaryC123

    Check if popup exists

    But that clears the original popup because its reopening the popup, I need to be able to check if it exists without doing that as the popup contains stuff that is constantly added to. http://www.eatdrinkandsleep.com
  4. GaryC123

    Trying to resolve a timeout issue

    session.timeout = 20 Sets the timeout to 20 minutes http://www.eatdrinkandsleep.com
  5. GaryC123

    Check if popup exists

    Not sure if I understand exactly, should it have the ... dots in there or filled in with the correct path. The first just opens a new window. The second clears the original window, which is no good. I need to keep whatever is in the popup there http://www.eatdrinkandsleep.com
  6. GaryC123

    Check if popup exists

    I'm just trying to find out if a popup window exists. I thought you could do this someway by referencing the name of the popup. Also there maybe more than one popup each with a different name. The creation of the popups is from some js code that keeps getting cycled. By name I mean the...
  7. GaryC123

    Decode attachments

    I'm looking for a way to get any attachments from an email file (i.e. just the txt version of the file and not trying to parse an incoming email) and send this to the browser as a downloadable file. http://www.eatdrinkandsleep.com
  8. GaryC123

    Checking if Cookies and Javascript are enabled

    Covers both topics http://www.4guysfromrolla.com/webtech/082400-1.shtml To just check for cookies, write a cookie on page load then redirect to another page and see if you can read that cookie. http://www.eatdrinkandsleep.com
  9. GaryC123

    Can you crack this

    I want to know if anyone can crack this. i.e. the encrypted page. http://www.intouchmedialtd.com/encrypt.zip http://www.eatdrinkandsleep.com
  10. GaryC123

    500 internal server error

    In your browser click Tools, Internet Options, goto Advanced tab, scroll down and deselect 'Show Friendly HTTP Error Messages', click OK Then run the page again http://www.eatdrinkandsleep.com
  11. GaryC123

    web site security

    Assuming you have some field in the db which says what level of access they have - 1,2,3 - where 1 might be all pages, 2 would be some other pages etc So when they login set a session variable to this value e.g. session("access") Then on the top of every page put this <% if instr("1,2"...
  12. GaryC123

    Server.CreateObject Parameters

    That's creating an object that accesses the properties of the eShoppingCart dll that must be registered on the server. http://www.eatdrinkandsleep.com
  13. GaryC123

    Best Coding Practice: Creating Array From DB Fields

    Using GetRows is far better than looping thru a recordset, much less strain on the server. And its just one line the syntax is arrayName=rs.getrows ' nothing else Then you can loop through the array elements e.g. response.write arrayName(0,0) The first element is each field in a record, the...
  14. GaryC123

    Best Coding Practice: Creating Array From DB Fields

    In one simple step arrayName=rs.getrows Puts all the records into an array http://www.eatdrinkandsleep.com
  15. GaryC123

    Breaking line in sql

    And from the beginning and & sql1 = "SELECT p1.Cat1ID, p1.Cat2ID, c1.Cat1Name, c2.Cat2Name" & _ "FROM tblProducts AS p1, tblMainCat AS c1, tblCat2nd AS c2" & _ "WHERE p1.Cat1ID = c1.ID AND p1.Cat2ID = c2.ID AND Cat1Name = '" & request.querystring("maincat") & "'" http://www.eatdrinkandsleep.com
  16. GaryC123

    Breaking line in sql

    You're missing quotation marks from the end of the lines sql1 = "SELECT p1.Cat1ID, p1.Cat2ID, c1.Cat1Name, c2.Cat2Name" _ FROM tblProducts AS p1, tblMainCat AS c1, tblCat2nd AS c2" _ WHERE p1.Cat1ID = c1.ID AND p1.Cat2ID = c2.ID AND Cat1Name = '" &...
  17. GaryC123

    ASP Configuration Check

    Does the IUSR account have permissons at all? http://www.eatdrinkandsleep.com
  18. GaryC123

    ASP Configuration Check

    If memory serves, other people having the same problem set the default scripting language to javascript and back to ASP, solving the problem http://www.eatdrinkandsleep.com
  19. GaryC123

    ASP Configuration Check

    Classic ASP is not enabled on Win2K3 by default, go to IIS and just enable it http://www.eatdrinkandsleep.com

Part and Inventory Search

Back
Top