473,409 Members | 2,056 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,409 software developers and data experts.

Capture, then paste URL string in browser

Gentlefolk;

I am working with a learning management system with a penchant to rewrite code. To get around this, I want to place my content _outside_ of the LMS, but on the LMS server.

I can link to this external content easily enough, but because of single signon, I can't return to the originating page.

So I need some JavaScript to do two things:

1: capture the URL of the originating page and save that to a cookie. The URL can be quite long, for example:

http://learncenter.mycompany.com/learncenter.asp?sessionid=3-942000C3-9A31-4869-8C78-3F42CBFF484E&DCT=1&id=123456&page=125

2: Return that URL to the address bar when a "Return" or similar button is clicked.

I have tweaked JavaScript sourced from the web, but have limited experience cobbling together this type of code myself, so I have an idea of what I need to do, but not a great idea of how to actually do it.

I would appreciate any guidance. If there is another way to accomplish this, other than writing a cookie, I am open to any ideas. I am just trying to return the user back to the originating page with the single signon credentials intact.

Thank you!

Don
Oct 27 '11 #1
0 1201

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Derek | last post by:
Hello: I want to capture the event when a browser is closing, to give to the user the posibility of close or no this browser. When the browser is closing, this show a confirm window with two...
8
by: R. Smits | last post by:
I've have got this script, the only thing I want to be changed is the first part. It has to detect IE version 6 instead of just "Microsoft Internet Explorer". Can somebody help me out? I tried...
0
by: Xavi | last post by:
Hi there! I have an MS Access 2003 application (.mdb). The application has a form that contains a Web Browser object, this object can be used to browse web pages through HTTP or files using...
15
by: Magix | last post by:
hi, let say I have this string +CCED: "xxxxxxxxx", 333 What is the most efficient way to capture the string within the " " ? which is xxxxxxxxx xxxxxxxxx can be any string.
5
by: _BNC | last post by:
I need to do the equivalent of 'select all' and 'capture' on a browser screen. I just want the text as it appears on-screen. Is there a simple way to automate this? The thing that may make it...
3
by: Alucard | last post by:
Hello all, I would like to know how to programmatically open the system default browser with a specified URL? For example, clicking a button to open up a browser window loaded with a specified...
3
by: Raj Chudasama | last post by:
i have the following public event ButtonPressedHandler InputButtonPressed; public delegate string ButtonPressedHandler(string Value); i am trying to capture that string how can i do this? ...
0
by: contactfast | last post by:
Dear, will you tell me how to add as support for unicode arabic, russian etc. languauge you coy paste in browse address bar , then it character stay same , but if you do some other language like...
1
by: Tony B | last post by:
I have a intranet website on one of our windows machines that runs apache 2.0 and php5. In the browser, for one particular link on the site, I want to run a win32 command line program on the client...
0
by: AAaron123 | last post by:
<asp:LoginStatus ID="LoginStatus1" runat="server" LoginText="Log In" LogoutAction="Refresh" LogoutText="Log Out" /> <asp:loginname id="LoginName1" runat="server" formatstring=" {0}" /> I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.