creating Phony links

B

Buddy Ackerman

I want to dynamically create page links that my customers can click on and get the appropriate data but the pages don't
really exist. Is there any other way to do this other than creating a custom 404 error page?
 
L

Lucas Tam

I want to dynamically create page links that my customers can click on
and get the appropriate data but the pages don't really exist. Is
there any other way to do this other than creating a custom 404 error
page?


Of course... There are several ways:

1. Pass the data via the Query String (What's wrong with the Query String
method?)
2. Pass the data via HTTPContext Items
3. Use Cookies/Session Variables to pass the data
4. Generate the pages on the fly
5. Display the data on the same page as the one you request it on.

There's no need for a custom error pages!
 
B

Buddy Ackerman

Lucas said:
Of course... There are several ways:

1. Pass the data via the Query String (What's wrong with the Query String
method?)
2. Pass the data via HTTPContext Items
3. Use Cookies/Session Variables to pass the data
4. Generate the pages on the fly
5. Display the data on the same page as the one you request it on.

There's no need for a custom error pages!



The reason I'm doing this is so I can stream a file that is not directly accesible on the website so I don't believe the
above options will work. There reason I'm doing this is that IE for the Mac doesn't read the response headers properly
and when the user is presented with the file save dialog box the filename in it is the name of the page and not the name
of the file being streamed. So, to fix the problem the only option (after considerable research) is to create the link
to real file even though the file is not on the website. That way fiel save dialog will have the correct file name in it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top