[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

04/01/2000 at 02:06AM PST, ID: 10321182
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.2

ASP site/code performance

Asked by carled in Active Server Pages (ASP)

Tags: asp

I have a fairly simple site I'm working on at the moment. There's a demo available if anyone wants to go and see it in action, it's at http://www.orangestar.net/organiser
user: guest
login: guest

Comments on appearance & usability would be welcome!
(bear in mind that this is on a UK server so the Americans amongst you will find the dates appearing to look strange)

For what I thought was simplicity's sake, I decided to have most of the scripting in one include file (with a .asp extension to stop unauthorised downloads) and this has ended up being 35KB in size.  This file is included in virtually every file in the site (about 35 pages) and I'm wondering if it's impacting performance.

For example's sake, I've included below one of the functions from the big include file so you can see my file access method.  This may be utterly awful coding - sorry - I'm self-taught and I don't know any other way!

--- code starts ---
Function InsertKeyDate(inUserID, inEventDate, inEventDesc, inKeyDate)
    Dim DSNtemp, rstemp, conntemp
      DoubleQuote=Cstr(Chr(34))
      StrQuote=Chr(34)

      DSNtemp="DRIVER={Microsoft Access Driver (*.mdb)}; "
      DSNtemp=dsntemp & "DBQ=" & server.mappath(Session("DatabasePath"))

    '-- Create object and open database
      Set rstemp = Server.CreateObject("ADODB.Recordset")
      Set conntemp = Server.CreateObject("ADODB.connection")

      conntemp.Open DSNtemp

      rstemp.open "Diary",conntemp,3,3
    rstemp.addnew
    rstemp("UserID")=inUserID
    rstemp("EventDate")=formatdatetime(inEventDate,2)
    inEventDesc=replace(inEventDesc, strQuote, "'")
    rstemp("EventDesc")=replace(inEventDesc,"'","''")
    rstemp("KeyDate")=inKeyDate
    rstemp.update

      rstemp.close
      set rstemp=nothing
      conntemp.close
      set conntemp=nothing
End Function

----- code ends ----

This code is pretty much repeated for updates and deletes, and exists for all of the 4 'sections' of the online organiser, so you can see how the file has got to be so big. Is it the size of this file being included in all of the pages that's making the site slow (the server it's on is quick) or is it the clumsiness in coding?  The background images of the 'book' are all the same, so once loaded should be quick.

I'd appreciate some input on this and I'll give points to those who can help me the most. Clockwatcher, Robbert, TTom, et al... - right up your street?
[+][-]04/01/00 03:16 AM, ID: 2675822

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/01/00 08:34 AM, ID: 2676170

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/02/00 01:05 AM, ID: 2677383

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/02/00 01:05 AM, ID: 2677384

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/02/00 10:12 AM, ID: 2677815

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/02/00 11:49 AM, ID: 2677957

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/02/00 10:59 PM, ID: 2678967

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/03/00 01:51 PM, ID: 2681640

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/04/00 02:53 AM, ID: 2683156

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/04/00 05:59 AM, ID: 2683698

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/04/00 05:59 AM, ID: 2683701

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/04/00 06:56 AM, ID: 2683967

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/04/00 07:26 AM, ID: 2684087

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/04/00 09:55 AM, ID: 2684505

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/04/00 11:46 AM, ID: 2684991

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Server Pages (ASP)
Tags: asp
Sign Up Now!
Solution Provided By: ATM
Participating Experts: 7
Solution Grade: B
 
 
[+][-]04/04/00 02:01 PM, ID: 2685385

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/04/00 02:07 PM, ID: 2685408

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/04/00 02:34 PM, ID: 2685475

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/04/00 03:18 PM, ID: 2685609

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/04/00 07:18 PM, ID: 2686049

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/04/00 07:23 PM, ID: 2686055

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/04/00 07:33 PM, ID: 2686075

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/05/00 11:06 AM, ID: 2687528

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74