NetTalk Central

Author Topic: Browser Title on PDF report (IE6)  (Read 4180 times)

Rob Mikkelsen

  • Full Member
  • ***
  • Posts: 107
    • Yahoo Instant Messenger - flashpott
    • View Profile
    • Email
Browser Title on PDF report (IE6)
« on: March 23, 2008, 10:10:14 AM »
I am creating and calling a PDF report in a new browser window.  This works great, but the browser header always displays:

http://localhost/ReportInventory?SessionID=59161402 - Microsoft Internet Explorer

How do I put a custom title on this browser window?  I realize that when deployed the domain name will appear (as it does when I change the url to http://127.0.0.1), but it would be nice to replace it with a custom title.  Can this be overridden?

Thanks!

Rob

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browser Title on PDF report (IE6)
« Reply #1 on: March 23, 2008, 10:55:36 PM »
Hi Rob,

Fundamentally ..no. The browser displays on the heading whatever it "asked for". The server can't tell it "hey you asked for A, but what you're actually getting is "B")

However there are 2 parts to the URL there. The first is the sessionID bit. You can suppress this is you like (and as long as the user has cookies turned on). It's slightly superfulous anyway, and is being included by the option on the menu "preserver session numbers". You can turn this option off if you like (everything still works because the session id is passed as a cookie as well.)

The first part of the name, ReportInventory, can be "pseudonamed" if you like, using the PageName property of the ReportInventory procedure. ie if you put "ReportInventory.Pdf" into the Page Name field, then the URL can be
http://localhost/ReportInventory.Pdf

cheers
Bruce