Last post Oct 17, 2018 12:43 PM by yogyogi
Sep 05, 2018 07:52 PM|smtaqi|LINK
Sep 05, 2018 08:09 PM|mgebhard|LINK
This is an old school technique used in the late 90s early 2000s that used an iframe as the target of a hyperlink.
Sep 06, 2018 03:31 AM|smtaqi|LINK
Sep 06, 2018 07:03 AM|Nan Yu|LINK
I'm not sure i understand your requirement , it seems you need one common URL for different resources/page . Could you please explain what problem you want to solve with that ?
Sep 06, 2018 10:41 AM|mgebhard|LINK
Is there any option in iis ?
No, IIS is too late.
Can we achieve this without using iframe ?
Sep 06, 2018 11:52 AM|smtaqi|LINK
Ok I used IFrame and it's working fine now.
But there is one issue suppose this is the IFrame control
<iframe id="ifrm" src="Pghome.aspx" ></iframe>
after doing some navigation inside my IFrame suppose now I'm on About.aspx, now if I press F5 the browser actually refresh IFrame which takes me back to default page of IFrame i.e. Pghome.aspx
instead of refreshing About.aspx.
Any way to fix this ?
Sep 06, 2018 12:21 PM|PatriceSc|LINK
Which is correct. You asked for refreshing a page that contains an iframe which points to Pghome.aspx. I believe it might work with a frameset.
But IMHO you should really make first sure about which problem you are trying to solve. You are starting to work against how the web works rather than to embrace its principle and it could cause more harm than good (what if a user want to bookmark a page
or send a link to a friend ?).
Having a different url depending on which resource you want to show is perfectly normal exactly as you are used to load a file from a folder by its name rather than pretending that all files have the same name.
Which problem are you trying to solve ? Even in a single page application you are usually making sure the user can bookmark the current "view" (even if behing the scene it is actually a single "page").
Sep 07, 2018 05:18 AM|smtaqi|LINK
This is a banking application, and it's our client requirement that URL in address bar should not be changed doesn't matter on which page you navigate to.
Yes I have already inform them about bookmark, they are OK with it.
This is a Internal website and will not be exposed via Internet.
I hope I have cleared the idea.
Sep 07, 2018 06:25 AM|PatriceSc|LINK
Not really. It will just hide the url from the browser user and it would be trivial to still have a look at them (using F12 Network or just "open this link in a new window"k). From a security point of view it won't change anything and I don't see any benefit.
It should work with https://www.w3schools.com/TAGs/tag_frameset.asp (if it still works as it is oudated) rather than iframes...
Oct 17, 2018 12:43 PM|yogyogi|LINK