Asp.net Alias

if it's possible to do the following in IIS using ASP.NET.

For example to setup aliases user1, user2, and user3

http://www.mydomain.com/user1
http://www.mydomain.com/user2
http://www.mydomain.com/user3

all calling http://www.mydomain.com/default.aspx

and extracting the user1..3 within the default.aspx page?

View Replies


ADVERTISEMENT

Link Alias

To secure files on a site with authentication we have put the
attachments in a folder outside the IIS web site like this:

D:Documents<ItemID>filename.doc

where ItemID is a number which we use to check permissions inside our
application.

In order to download the file from the site we have made a binary
reader component (we could probably use SAFileUp or something instead,
but this works) to send the file through an ASP-file:

http://mysite/Docs/ShowDoc.asp?ID=<ItemID>

This works well.

So to my problem:
If I right click the link to save the file on my local computer (Save
target as), it will save the file properly, but the filename in the
Save As-dialog is ShowDoc.asp. I want it to be filename.doc instead.
Is it possible?

I've heard that on a Apache web server you can write the link like
this:

http://mysite/something/filename.doc?ID=<ItemID>

but then the server knows that it's
http://mysite/Docs/ShowDoc.asp?ID=<ItemID> it should load. If this is
possible in IIS, the Save As-problem will be solved.

View Replies View Related

Sending Mail From ASP Form To Exchange Alias

I'm developing a service request form for our intranet that will send out an email when it is submitted. Sending to an internet email address, something@yahoo.com, poses no issue, but a lot of the staff only have internal email accounts.

Is there a way to send an emmail to a MS Exchange Alias?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved