Hi All: I have some shared hosting space on NetSol. I've been told that if I want multiple websites, I have to create a subfolder for each website in the top-level directory, and place a single web.config file in the main directory, and then point the URLs to the individual subfolders.
I've done all that and it worked...somewhat. What I found was that I started to make changes to a master page in one directory using NetSol's filemanager utility (like a web-based text editor), but when I saved the master page the changes were not reflected.
I finally changed the reference to the master page in each child page from MasterPageFile="~/mymasterpage.master" to MasterPageFile="mymasterpage.master", and my changes started to appear.
My guess is that the master page was being cached at the server, and when I manually edited it with the text editor, the page was not being reloaded. But when I changed the path to the file in the child pages, it was reloaded into cache...does that make sense, or is something else going on?
Is the ~/ in the path to the masterpage have anything to do with caching behavior? or was it just forcing a reload by changing it? And is ~/ in the path necessary at all?