What is the Virtual Directory on IIS and how do I use it?

Warning: The Virtual Directory tool is an advanced tool. 

Improper use of this tool can render your website nonfunctional. 

The Virtual Directory tool in the control panel allows you to designate a directory as another application within IIS.

It means that you have separate Session,Application,web.config files for your Virtual Directory and you couldnt share your session between Virtual Directory and your parent web.

So You will lost all your session variables if you pass your page to the page inside the Virtual Directory.

Was this answer helpful?

 Print this Article

Also Read

How do I password protect a directory in my website?

Follow these instructions to password protect a directory: Log in to ASPWebHosting.com.au...

How do I add a domain alias (pointer) for my site?

Login to Control Panel Under "Hosting Management" on right hand column, click "IIS Manager"...

How do I manage my site Default Document?

Login to Control Panel Under "Hosting Management" on right hand column, click "IIS Manager"...

How do I modify the NTFS permission for specific folder or file ?

Follow these instructions to password protect a directory: Log in to ASPWebHosting Control...

How do I Disabled Directory Browsing in IIS?

Directory browsing means that when you create a directory without an index file , people can just...