Thanks Roland! Your detailed information is much appreciated.
First the answers for the three questions:
1. It is going to be an online discussion session between us and our
customers. The data will be the questions our customers ask and the answers
we reply.
2. Data (questions and answers) will be stored on SQL server. When a
customer askes a question, it is saved into database. We then load the
question onto our manager webpage and answer it. The answer is then written
to database also. Next time the customer refreshes his page (or just that
section of the page), he will see his question and our answer, along with
other customers questions/answers in the QA area on the page.
3. I suppose answer 2 has answered question 3 as well?
We will refresh the whole page if there is no easy way to refresh just the
QA area of the page. Data/Images link on other parts of the page comes from
database too, therefore we hope we don't need to reload all that each time a
customer refershes the page.
As for the single frame page, I'm not sure how that's going to work, as we
need to keep this page the exact same layout as other pages on the site.
(Every page includes the header/footer...etc files to make the pages
consistent).
Regards,
Conax
"Roland Hall" <nobody@nowhere> wrote in message
news:#e**************@tk2msftngp13.phx.gbl...
"Conax" wrote: But this page is one to be added to
existing site which was designed and developed without frames so I can't use frames now.
That's an incorrect statement. You may not WANT to use frames but you
can. Other pages have nothing to do with this one using frames. You can have a
single frame page in your site and aside from the pages loaded into the
frames, the rest do not have to be.
However, you're way ahead of yourself here.
1. What is the data that needs to be refreshed?
2. How is it retrieved?
3. From where?
Ex.
1. Text and/or image(s)
2. From a database/file
3. Manually edited/Server-side scripting with client-side
timer./Server-side application
I do have one question. Why is it so important that the page not refresh?
This probably doesn't have to be answered now but refreshing a page for
one element is not necessarily bad unless it has to make a trip to a server
needlessly but then if you're getting data and/or images dynamically,
you're hitting a database or a file somewhere or you're just pulling info from an
array or some other part of memory. If the rest of the page does not
change, then it will be reloaded from cache, unless the user has set the
browser to verify the page on each refresh. Usually only developers have
this set during development which means mine stays that way.
Ex. On the Snitz forum I'm running on one of my sites, there is a Famous
Quotes section. It randomly picks a quote from an array and displays
different ones on a timer. The array is populated when the page loads so
the data changes but there is no overhead going back to the server. This
could just as easily be done with images that were preloaded as in a roll
over.
If the data does actually change and require a trip somewhere to get it,
then this point is moot but it does not necessarily mean the whole page
will then have to be loaded. If there is no way around it, an IFRAME could be
a way out but note that IFRAMES have had security issues in the past, which
I believe was cross-site scripting, and this can be disabled on the user's
browser which will negate your workaround. If this is on an Intranet then
that's also not an issue because this site can be in a different security
zone where IFRAMES are allowed.
Creating an ActiveX control is also not an option of us...
Perhaps one already exists for what you need thus not requiring it to be
created. Would that then make it an option?
The three questions from the ordered list should be answered first and
then possibly someone can work out a solution for you. There are numerous
possibilities but more information is needed.
--
Roland
This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.