Thanks John and Matais,
I will try that. I will also trying using the page_load function and
see that would bring the results page when we refresh?
Thanks guys...
KP
--- In [EMAIL PROTECTED], Mat�as Ni�o ListMail
<[EMAIL PROTECTED]> wrote:
> How about storing the query in a session variable that gets
checked every time that the results page gets loaded.
>
> For example, when the query gets submitted, it is also stored in a
session variable. Thereby, whenever the results page gets refreshed
(without a query) it checks to see if a prior query exists in the
session variable. If so, it re-runs the query and loads it.
>
> Of course, there are memory implications cause you don't want to
use session variables if you have hundreds/thousands of users, and
you also might not want to re-run queries with every refresh if the
queries themselves are heavy on database processing.
>
> -Matias
>
>
> -----Original Message-----
> From: kpraoasp [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 2:55 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [ASP] Frames in ASP
>
>
>
>
> Thanks John. It does help me a bit. Here's what the users do. When
the get the results for the query, they click on a particular
record, this opens a new window and then update some of the fields
and submit it. The status field changes accordingly which is
displayed in the results section. The users manually refresh the
browser and this will tell them whether the updates were done
satisfactorily or not.
>
> Thanks,
> KP
> --- In [EMAIL PROTECTED], "John Vieth"
> <[EMAIL PROTECTED]> wrote:
> > Why do you want to refresh? With frames, people must refresh
the
> > individual frame documents by selecting the frame and choosing
> refresh.
> > Otherwise the whole frameset gets refreshed, which reverts the
> > individual frames back to the default specified by the frameset.
> >
> > You could get around this using cookies. The results page could
> check a
> > cookie to see what results should be displayed.
> >
> > But I'm wondering why you're concerned about refreshing? If
you'd
> like
> > to create the illusion of dynamic content, you could have the
frame
> > document use a meta refresh tag to automatically refresh at
certain
> > intervals. This would refresh only that document in that
> particular
> > frame, not the rest of the frameset.
> >
> > Hope that helps.
> >
> > - Vieth
> >
> > > -----Original Message-----
> > > From: kpraoasp [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, November 04, 2004 1:02 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [ASP] Frames in ASP
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I have an html page which has frames. The srce for one of the
frame
> > > is a query page(query.asp) and the source for other frame
> is the
> > > results(results.asp) which is displayed when the submit button
is
> > > clicked on the query page. When the HTML page is first opened,
it
> > > shows only query.asp. The results.asp is displayed when the
submit
> > > button is clicked. The problem i am having is when i do a
refresh,
> > > the results.asp page disappears. Is there a way to retain the
> > > results.asp after a refresh? I am using IIS 6.0. In IIS4.0,
this
> > > used to work.
> > >
> > > Thanks,
> > > KP
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ------------------------ Yahoo! Groups Sponsor
> > > --------------------~--> Make a clean sweep of pop-up ads.
Yahoo!
> > > Companion Toolbar.
> > > Now with Pop-Up Blocker. Get it for free!
> > > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
> > > --------------------------------------------------------------
> > > ------~->
> > >
> > > --------------------------------------------------------------
> > > -------
> > > Home : http://groups.yahoo.com/group/active-server-pages
> > > ---------------------------------------------------------------
--
> ----
> > > Post : [EMAIL PROTECTED]
> > > Subscribe : [EMAIL PROTECTED]
> > > Unsubscribe: [EMAIL PROTECTED]
> > > ---------------------------------------------------------------
--
> ----
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
>
>
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------
~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
> -------------------------------------------------------------------
-~->
>
> -------------------------------------------------------------------
--
> Home : http://groups.yahoo.com/group/active-server-pages
> -------------------------------------------------------------------
--
> Post : [EMAIL PROTECTED]
> Subscribe : [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> -------------------------------------------------------------------
--
> Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/