I have a page that is dynamically linked to a document that opens in a new page (document The data is stored in the database as a binary and I have loaded the following code:
response. Clear content () Response.ContentType = myReader ("MIMEType"). ToString Response.AddHeader ("Content-Displacement", "Inline; File Name =" & myReader ("Filename")) Answers BinaryWrite (myReader ("DocBD ")) Response.End ()
This works fine though access to some documents is restricted and the user is redirected to a login page before loading the document. After entering username and password, the documents are loaded. For example, if it is a PDF file, then it loads in the same login page, but when it is a word or excel document it can be used in the browser window. Every opens and the login page stays in the background. Is there a way to emphasize a word or excel document to open inside the browser window?
My guess would not be, the way the word works (and I think that Login in this way) opens in a separate window.
Comments
Post a Comment