Wrox Programmer Forums
|
Other Programming Languages If you have a coding issue to discuss about another language that really isn't provided for in any other forum here (not ASP.NET C#, C++, VB, PHP, JavaScript, Python, Java, Perl, Applescript, XML or any of the other forum topics we have), post it here. Enough discussion on a language we don't have covered could prompt a new forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Other Programming Languages section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 11th, 2006, 06:47 PM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to missminderz Send a message via Yahoo to missminderz
Default Need Help

I am going nuts here. I just learned Perl, so I am a little confused. Okay, here is the thing. I am creating a page where you can create a username and password for a protected site. It works. That is not the problem. I also have a login pahe, which also works. These are the files: password.pl, addpassword.pl, and html.pl. Okay, the problem is, when I sign in, the "you have been logged in" appears in a popup but doesn't redirect.

This is what I am trying to do. When they click "sign in" it opens in a set sized popup, saying "you have been logged in" and when you click a "close window" box, the window will close and the "protected page" comes up where the "sign in" page was.

Do you understand. lol

Reply With Quote
  #2 (permalink)  
Old January 23rd, 2006, 01:26 PM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Blimey, how about dropping the you've been signed in entirely and having a javascript alert to tell them they've signed in. You could generate the javascript from perl only if a parameter was passed to the page (to stop you getting the popup every time you loaded the page).

HTH

--
Don't Stand on your head - you'll get footprints in your hair
                                           http://charlieharvey.org.uk
                                              http://charlieharvey.com
Reply With Quote









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.