Re: Page context
From: Larry Charlton (LarryCharlton_at_discussions.microsoft.com)
Date: 07/13/04
- Next message: Stu Smith: "Re: Garbage collector and multiple threads"
- Previous message: ddh: "User Interface Process (UIP) App Block and Web forms"
- In reply to: John Saunders: "Re: Page context"
- Next in thread: John Saunders: "Re: Page context"
- Reply: John Saunders: "Re: Page context"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Jul 2004 09:11:04 -0700
My problem is simpler and harder than that. The "if you ran the search in a second window..." is correct. Basically what I want to track is one piece of information. A number would work. I have to put that number on the page (in the form). When I leave the page for another, that second page needs to know what the number is. When it returns to the first page that number needs to get passed back so it can get it's context. The number can't be in the URL, or if it is, has to be removed immediately.
Consider pressing Control+N, I have two different contexts that need to be returned to. Something like the following:
search(5) -> Control+N -> search(6)
Now I have two searches with different contexts and the following might happen:
search(5) -> Edit(7) -> search(5)
search(6) -> Edit(8) -> search(6)
What I'm trying to figure out is how to get 5 from search to edit and then back again. If I put 5 in the URL, when I press Control+N I get 2 5's.
Also consider a web farm. If I use session, I'm going to have to move storage off to another server and slow every page down for that server.
"John Saunders" wrote:
> "Jerry Pisk" <jerryiii@hotmail.com> wrote in message
> news:OMjpJIGaEHA.3112@TK2MSFTNGP09.phx.gbl...
> > Or not, if you ran another search in a second window on the same session.
>
> If the goal is to keep the "latest search", then this is exactly what you
> would want.
> --
> John Saunders
> johnwsaundersiii at hotmail
>
>
> > "John Saunders" <johnwsaundersiii@notcoldmail.com> wrote in message
> > news:eKs6hb3ZEHA.808@tk2msftngp13.phx.gbl...
> > > "Larry Charlton" <LarryCharlton@discussions.microsoft.com> wrote in
> > > message
> > > news:F1D1C9CB-C332-48E4-B6B0-DC903EDB7761@microsoft.com...
> > >> I want to maintain page context between pages.
> > >>
> > >> Search -> Edit -> back to Search w/last search there and some variants
> > >>
> > >> The thing is I also want people to be able to hit Control+N for a new
> > > window and get a new search. I'd also like to be able to use the foward
> > > and
> > > backward navigation. So far I've been able to do the following:
> > >> I can create a function key, pass it on the URL, pick up the values
> from
> > > the url, send a form back that auto submits with the URL rewritten and
> > > context on the form or a variant of this. This has the side effect of
> no
> > > navigation...
> > >> or
> > >> I can create a function key, pass it on the URL, pick up the values
> from
> > > the url and use those. This has the side effect of if I hit control+N
> the
> > > new window is using the current windows context. Which can be really
> bad
> > > in
> > > some cases...
> > >>
> > >> Both to work to a point. Is there a .net way to do this? I seem to be
> a
> > > bit thick headed this morning.
> > >
> > > You can save the search criteria in Session variables. They will still
> be
> > > there when you get back to the Search page.
> > > --
> > > John Saunders
> > > johnwsaundersiii at hotmail
> > >
> > >
> >
> >
>
>
>
- Next message: Stu Smith: "Re: Garbage collector and multiple threads"
- Previous message: ddh: "User Interface Process (UIP) App Block and Web forms"
- In reply to: John Saunders: "Re: Page context"
- Next in thread: John Saunders: "Re: Page context"
- Reply: John Saunders: "Re: Page context"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|