By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,963 Members | 1,798 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,963 IT Pros & Developers. It's quick & easy.

Capture, then paste URL string in browser

P: 1

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:

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!

Oct 27 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

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