I want to access user name from the url written like this format
user will enter his user name after website name. Remember that user will not enter user name as a query string like
http://www.codeproject.com/username?username1 (I don't want this type of entry with url by user)
when i am using this (http://www.codeproject.com/username1) type of url I have tryed to access user name from global.aspx -Application_BeginRequest event. i have searched that after the website name if the string (here username1) is not with . (i am not permitting to use . while user name created) it will redirect to download page with query string.
download.aspx is present on the server. and it is opening properly when typeing the url manually on ther browser.
But it may be server is not configured properly. On the control panel of this website a error 404 (page not found) is set to a html page by the hosting provider (godaddy.com). And that page is showing while i am trying that code.
There are other options of 404 Error Behavior are:
Use home page:
Use custom page:
If i set a custome page to a aspx page. I think it will open but where i wil loose the username (here username1).
How can we know ? I would assume you want to look at hte source code to see how fonts are added. Then you want to research if the fonts you want are going to be on every computer you want this to work on ( does this include Windows PCs only ? ). Then, if you think it's OK, add them.
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Last Visit: 18-Sep-20 2:25 Last Update: 18-Sep-20 2:25