ASP.NET Get url of seperate frame?

  • Thread starter Thread starter Gav
  • Start date Start date
G

Gav

Hi all,

I am currently changing a project so that it uses framesets/frames etc and
in my code I use:

Url urlPage= HttpContext.Current.Request.Url;
urlPage.AbsolutePath;

in order to find which page I'm looking at, however now I have changed this
I would like to find out which page is loaded in a different frame. Can
anybody help with this?

Thanks
Gav
 
Gav,

You aren't going to be able to get this unless you store that state on
the server (by session), or send it as part of the url (from the other
frames).

If anything, what are you trying to do? You might be able to use
javascript to figure out what frames are loaded where, and then adjust the
URL (with a querystring) to pass that to the server to process, if need be.

Hope this helps.
 

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