opening word doc, excel file etc
I have a href link on my page. The href link needs to take me to a word doc
or a excel file or any other file that had been uploaded earlier. But I do
not want the user to goto the required file by clicking on the href tag.
I need to do some database update saying the user has viewed this file and
then take him to the file. For this, I take him to an intermediate page,
do the database update in the server side script and then try to redirect
the user to the file. This is not working. I keep getting the message that
'The page cannot be displayed'. This is not happening if the file is a text
file! Also, if the href tag is directly linked to the file, I am able to
view or download the file.
Can someone show me some light?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL