CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [terrykhatri531] How to pass variable value from perl to Javascript: Edit Log



Zhris
Enthusiast

Aug 10, 2014, 5:21 AM


Views: 18630
Re: [terrykhatri531] How to pass variable value from perl to Javascript

A solution is in my previous comment / post #21 Sly.

Another alternative, but not as clean, would be to create an intermediate screen. Instead of redirecting, set the cookie using jquery (or in Perl header), print the message "Logging you in...", then use a html meta refresh (or a javascript method) to redirect to index.pl after a set number of seconds.

Chris


(This post was edited by Zhris on Aug 10, 2014, 5:59 AM)


Edit Log:
Post edited by Zhris (Enthusiast) on Aug 10, 2014, 5:29 AM
Post edited by Zhris (Enthusiast) on Aug 10, 2014, 5:32 AM
Post edited by Zhris (Enthusiast) on Aug 10, 2014, 5:59 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives