473,320 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

One link triggers two URLs?

I'm working on a project that has a logout button, but (like most
things) it's kind of a hack. I'd really like the one logout window to
actually hit two logout URLs. I only need to display one window that
a person has logged out, but would like to end the session in both.
I'm thinking I could use something like

<A HREF="/DesktopServlet?action=logout" onClick="(something)">

but I'm not sure what (something) would be. For argument sake, let's
say the URL I want to also click on (that I don't care about
displaying the contents of) is http://www.yahoo.com.

Any ideas?

Thanks for your help,
--Ernie Soffronoff
er*****@gmail.com
Jul 23 '05 #1
2 1522
Ernie Soffronoff wrote:
I'm working on a project that has a logout button, but (like most
things) it's kind of a hack. I'd really like the one logout window to
actually hit two logout URLs. I only need to display one window that
a person has logged out, but would like to end the session in both.
I'm thinking I could use something like

<A HREF="/DesktopServlet?action=logout" onClick="(something)">
Only one of those will be followed. Try it out and see :)
but I'm not sure what (something) would be. For argument sake, let's
say the URL I want to also click on (that I don't care about
displaying the contents of) is http://www.yahoo.com.


Lets assume you have Page1.php that you are on, and it has a button to
log out. That button would submit a form to logOutPage1.php which would
then call logOutPage2.php *from the server*. Otherwise, you are doomed
to failure.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #2
Doomed?!? Aie!

Thanks for your reply, though. It made me think a little more about
the problem, and I figured out a way to do somethng like what you
suggested.

--Ernie

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Dave Patton | last post by:
Does anyone have any experience running Xenu Link Sleuth: http://home.snafu.de/tilman/xenulink.html version 1.2e on very large sites? I'm having problems running it against our site, in that on...
10
by: bnmm | last post by:
Hello, I'd like to style a submit button as regular text link. demo: www.byteshift.de/msg/div/input-as-link-by-css (XHTML strict) I applied "display:inline; margin:0; padding:0;" to both the...
3
by: groucho | last post by:
I want to click on text and have it open a different *random* webpage every time from a list of urls I have already provided. So if I have 3 pages - p1, p2, p3 - i want to be able to click the...
2
by: SR | last post by:
I have started a web site using ASP.NET 2.0. I would like to centralize all of my classes in a StyleSheet but I cannot figure out how to link the StyleSheet to a Content Page since there is no...
13
by: Steve | last post by:
Hi; A friend of mine is publishing a book that includes 3000 citations, many with urls. When he made his bibliography he chopped off the "http://"s off of his urls. I wrote a program to...
8
by: Steve | last post by:
Hi Guys; You have been giving me a lot of useful information in the other two threads. Thanks! Very interesting. Here is my situation. My friend is writing a book. He has 3100 citations,...
26
by: Nospam | last post by:
I am trying to open a link in a new template window : <a onclick="windowopen('example.html','example');return false;" href="http://www.example.com" target="_blank"example link</a> such that...
5
by: Joey | last post by:
I have the following in the head section of the ASPX page for my master page: <script language="javascript" type="text/javascript" src="MyCodeFile.js"></script> This includes my external...
5
shishisu
by: shishisu | last post by:
I figure this might be a fun challenge to some of you out there... I appreciate all the help. Thanks in advance. Here we go... I have 2 web page (on different servers) I am working on. Here,...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.