I tried your suggestion but this did not fix it so I just made changes to how my text is presented to the user after the timer expires and this will work for me. Thanks for your help!
-John Sarmiento -----Original Message----- From: Francois Gaudreault [mailto:[email protected]] Sent: Thursday, December 16, 2010 12:05 PM To: [email protected] Cc: Sarmiento, John Subject: Re: [Packetfence-users] captive portal re-direction not working properly with Firefox 3.6.13 Hi John, I just tested using MAC OSX and Firefox 3.6.13, and unfortunately I cannot reproduce your issue. Can you test this (Assuming you are using PF 1.9): - Put back the original code in web.pm - Create a release.pl file in conf/templates with the following code (copy and paste exactly this) : $vars->{js_action} = "var action = function()\n{\nhidebar();\ntop.location.href=destination_url;\n}\n"; - Restart PacketFence and try again Do you have any kind of JavaScript protection module in your browser? On 10-12-16 12:41 PM, Sarmiento, John wrote: > I'm having an issue using re-direction in my PacketFence captive portal > with Firefox v3.6.13. On my registration release, FF v3.6.13 times out > when trying to automatically load the redirection URL. If you hit > refresh after it times out, the page will load. IE automatically loads > the redirection URL ok. I currently have my captive portal setup to > present text to the user after the timer expires, but I would prefer to > use the re-direction feature. > > Here is what I've tried so far to fix this re-direction issue, but this > did not fix it. > Use "window.location=destination_url;" instead of " > top.location.href=destination_url;" in lib/pf/web.pm. > > Would anyone have any other ideas I could try? > > > > -John Sarmiento > -- Francois Gaudreault, ing. jr [email protected] :: +1.514.447.4918 (x130) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Packetfence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
