• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Open the same browser window from a hyperlink in email.

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We have an application where we send documents for approval/rejection to a supervisor. Whenever a document is sent to the supervisor, the supervisor gets an email which contains a hyperlink to the document which is to be approved/rejected. Pls note that the mail client is Microsoft outlook.
Now, our requirement is that if the supervisor has already logged into the system and he/she clicks this hyperlink in the email, then the corresponding document should open in the same browser window where he/she has logged in.
What is currently happening is even if the supervisor is logged into the system, and he/she clicks on the hyperlink, the document opens in a new browser window.
We have already enabled the check box for "Reuse windows for launching shortcuts" option in IE->Tools->Internet Options->Advanced. But still we are not getting the expected output.
Please suggest some solution.
Thanks in advance.
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the only thing i can think of is to make sure your link isnt specifying a target.
 
Dhanashree Panse
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Randall,
We are not specifying any target in the link because we are creating the link in a servlet and then passing this link in email to the supervisor.
Any other solution which u can think of ??
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello !
Have you tried to force it to load into a target then ? (<a href="..." target="_self">
A further look at
http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/target.html
may be usefull
Yann
 
Dhanashree Panse
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually the situation is something like this : Assume that you are the person to whom this notification mail is sent. When u open your mail client u see a mail and a link say: http://www.xyz.com in the mail. So whenever this link is clicked, it opens a new browser window.
In such a case where shall I specify target="_self" ??
 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Correct me if I'm wrong but in this case shouldn't _blank be used instead of _self? If so, you specify this parameter in the actual link itself.
Rob
 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
'_blank' is to open the document referred in a new window, where as '_self' will open it in the current window.
Dhanashree, you can configure outlook client to accept HTML mails, and then you can hide the actual URL (with target)!

Just a possibility.
HTH,
Ashok.
[ August 02, 2002: Message edited by: Ashok Manayangath ]
 
Dhanashree Panse
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone,
Thanks for the replies but I still have some problem. I cannot write the following code : <A href="www.xyz.com" target="_self">www.xyz.com</A> anywhere because I think these anchor tags cannot be kept hanging. They have to be included inside the <html> tags. Then I will have to write the whole html file.
But there is a loophole in this too ! If the mail client is not configured to receive HTML mails, then the solution won't work .
Please help.
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The bottom line is that email is not a hypertext system. Email is really for sending and receiving plain text messages; you should never build a process which assumes otherwise.
Personally, I hate HTML email, and turn it off in any client I use. I know a lot of people who hold similar views.
 
Ashok Mash
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Frank about HTML mails. They are a PIA.
About the actual problem, Dhanasree will have to choose between a text based one or an HTML based one.
Meanwhile, I am assuming that you are talking about web-version of Outlook client. So one solution is send HTML always, and if users Outlook client is configured to NOT to accept and display HTML mails, let them open it in a new browser window, and then onwards all the links in the mail will open in that window.
Or, go simple text way, where you will have the actual mail displayed in Outlook regardless of the client configuration, and every link will open in different windows.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic