different search and result page

  • Thread starter Thread starter devccon
  • Start date Start date
D

devccon

Hi all,

I'm quite stuck with this problem here.
I have a search form (search.aspx) and I want the results to be
displayed in another form (result.aspx).
So far so good, I've implemented a datagrid and and the data shows up
the first time. Now when I want to implement paging it can't find the
next page. Obviously, because the querystring is empty.
I also tried caching, it worked but I'm afraid of the memory overload
and that the user will receive an empty grid if the cache duration has
expired.
Now what's the best practice to do such thing?
I can't have the datagrid in the same Page as the search form is a
Template that is used all over the site.
Should I use sessions or server.transfer or what else can I do???

I've searched through gazillion of articles but with no luck.
Any help is much appreciated...

Thanks in advance,
Chris
 
Using a session variable to store the required data would be a fairly
standard solution for such a scenario.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top