I'm not sure anyone has published Javascript like this, but you should be able to get what you need by inspecting document.location.href, document.location.search, and document.location.hash, i.e.:
document.location.href: "http://www.example.com/?foo=bar#baz" document.location.search: "?foo=bar" document.location.hash: "#baz" Then computing what you need from there, and setting document.location=new_value -Phil On Wed, Feb 15, 2012 at 6:40 AM, Chetna Pant <pant.che...@gmail.com> wrote: > Thanks for that information. Can we please get an idea how the javascript > will be created and where we need to use this javascript? If anyone has > used any such javascript can you please share it. > > > On Thu, Feb 2, 2012 at 11:34 PM, Matt Smith <m...@forsetti.com> wrote: > >> mod_auth_cas does not currently provide this functionality. You would >> need to include some javascript to detect the ticket and refresh to the >> non-ticket URL. >> >> On Thu, Feb 2, 2012 at 9:04 AM, Vipin Jain <vjsat...@gmail.com> wrote: >> >>> Hi Scott, >>> >>> We are using Apache Module mod_auth_cas 1.0.9.1, Can you please help us >>> if we can do the same in Apache Module. >>> >>> Thanks >>> >>> On Thu, Feb 2, 2012 at 7:11 PM, Scott Battaglia < >>> scott.battag...@gmail.com> wrote: >>> >>>> Depending on your CAS client, you can set it to redirect after ticket >>>> validation (which removes the ticket parameter). >>>> >>>> >>>> On Thu, Feb 2, 2012 at 8:39 AM, Chetna Pant <pant.che...@gmail.com>wrote: >>>> >>>>> Hi, >>>>> >>>>> We are using CAS to authenticate liferay portal. When it authenticates >>>>> it shows a ticket in the query string. When we refresh the page with the >>>>> ticket in the query string it gives a blank page. Is there any solution so >>>>> that we do not get the blank page on refresh? >>>>> >>>>> >>>>> -- >>>>> Thanks & Regards, >>>>> Chetna Pant >>>>> >>>>> -- >>>>> You are currently subscribed to cas-user@lists.jasig.org as: >>>>> scott.battag...@gmail.com >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> To unsubscribe, change settings or access archives, see >>>>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>>>> >>>>> >>>> -- >>>> You are currently subscribed to cas-user@lists.jasig.org as: >>>> vjsat...@gmail.com >>>> >>>> >>>> >>>> To unsubscribe, change settings or access archives, see >>>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>>> >>>> >>> -- >>> You are currently subscribed to cas-user@lists.jasig.org as: >>> m...@forsetti.com >>> >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>> >>> >> >> >> -- >> m...@forsetti.com >> Key ID:7208B5B4 >> >> -- >> You are currently subscribed to cas-user@lists.jasig.org as: >> pant.che...@gmail.com >> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> > > > -- > Thanks & Regards, > Chetna Pant > > -- > > You are currently subscribed to cas-user@lists.jasig.org as: > modauth...@gmail.com > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user