Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,466
    Thanks
    15
    Thanked 0 Times in 0 Posts

    code making site slow???

    would using -- <%session.timeout=1440 %>
    make a site load slowly?

    My problem is my site is sometimes loading fast and sometimes slow --- (strange as it's always changing)

    is this more likely to be something in the code causing this or the hosting company?

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    using sessions is consuming server resources, so any performance drop might be caused by the hosting company (combined with the number of connected clients) if the code is unchanged compared with periods of good performance
    I am the luckiest man in the world

  • #3
    Senior Coder
    Join Date
    May 2004
    Posts
    1,466
    Thanks
    15
    Thanked 0 Times in 0 Posts
    i'll put it down to 30 mintues and see if it helps but what other things in code can cause it to be slow. (and if so why wouldn't it be slow all the time vs. only part of the time) (soemtimes it can load in 2 seconds and sometimes takes 12 seconds)

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    depends, if there is a lot of server processing going on on the page, the server availability determines if the page is going to load fast or slow. That means, if there are a lot clients connected and the server is not very fast or you share it with a lot of other sites from other cutomers of the hosting company, then there can be huge performance fluctuations. If the server processing is minimal, the connection bandwidth is the fact with a lot of influence
    I am the luckiest man in the world

  • #5
    Senior Coder
    Join Date
    May 2004
    Posts
    1,466
    Thanks
    15
    Thanked 0 Times in 0 Posts
    but if the client pays for 1 gb -- is there reason for the hosting company to say it's something in the code?? (and what else could be causing that? -- this is a site pulling info from an sql db and the only not so normal thing i thought of is that we set teh session to 24 hours)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •