That is a difficult problem to solve.
This is one of the (many) reasons that frames should be avoided.
Usually you can partition logical sections of your page into web controls
instead of using frames. It's normally a better and more object oriented
aproach
Here's more info:
http://msdn.microsoft.com/library/de...ercontrols.asp http://msdn.microsoft.com/library/de...ercontrols.asp http://msdn.microsoft.com/library/de...ebControls.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at
http://www.able-consulting.com
"Mark" <pyedubois@hotmail.com> wrote in message
news:vos1iolbd29840@corp.supernews.com...[color=blue]
> I should have stated, I am using frames--a header frame and a content[/color]
frame[color=blue]
> (titled 'main'). Is there any way around the refresh problem in this
> situation? I only want to refresh the 'main' frame.
> "Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
> news:urizJp3kDHA.2776@tk2msftngp13.phx.gbl...[color=green]
> > My first guess would be that you're using Server.Transfer to send the[/color][/color]
user[color=blue][color=green]
> > between pages. This causes the original URL to remain in the browsers
> > address bar. Therefore when you tell the browser to refresh, that's the
> > address it refreshes.
> >
> > My second guess would be that you're using frames, and the browser[/color][/color]
simply[color=blue][color=green]
> > refreshes the top frameset.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> >
http://Steve.Orr.net
> > Hire top-notch developers at
http://www.able-consulting.com
> >
> >
> >
> > "Mark" <pyedubois@hotmail.com> wrote in message
> > news:vorntk2h50iq0a@corp.supernews.com...[color=darkred]
> > > Hi,
> > >
> > > I don't know if I'm just missing something obvious, but when running[/color][/color][/color]
my[color=blue][color=green]
> > app,[color=darkred]
> > > not matter what page I'm on, when I hit 'refresh' on my browser, it[/color][/color]
> takes[color=green]
> > me[color=darkred]
> > > back to my homepage.
> > >
> > >
> > > I'm using global.asax and webconfig to fire some session onstart[/color][/color][/color]
events[color=blue][color=green]
> > and[color=darkred]
> > > to set a few variables (connstring and such) and also for forms
> > > authentication.
> > >
> > > I don't think I modified anything to cause this.. I didn't notice the
> > > problem till now, as I finally have enough of it completed that I can[/color][/color]
> view[color=green][color=darkred]
> > > other pages (lol).
> > >
> > > Any idea on what is causing this problem?
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]