Current location: Hot Scripts Forums » Programming Languages » Perl » Perl CGI Cookies Iframes


Perl CGI Cookies Iframes

Reply
  #1 (permalink)  
Old 12-28-04, 02:25 PM
kathryn kathryn is offline
Newbie Coder
 
Join Date: Dec 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Perl CGI Cookies Iframes

Hello,
I have a site on an intranet where users go to connect to other intranet sites.The user has to login to enter this site. Some of these sites require the user to login again. (This is legacy work) The problem has been that the user would login and have the same page open two to three times and it was a mess.
I decided to redo the page and use a Iframe, I also want to keep the user from having to login to every site. I have decided to use CGI cookies to pass the user login and password.

I can't seem to pass inside the iframe does anyone have any help?

Thanks
Kathryn
Reply With Quote
  #2 (permalink)  
Old 01-20-05, 09:58 AM
Chas Chas is offline
Coding Addict
 
Join Date: Oct 2003
Location: California
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kathryn,

Did you get this solved? I remember reading something about using cookies in a CGI with frames not working very well but I can't seem to locate the article at the moment. Is the site opening in the iFrame on the same TLD? Cookies set on a TLD will only be visible to the same TLD; that could be a problem. You might be able to use the cookie to set the URL for the iFrame and include the user/pass details. The bad thing is that those links will show up in your server logs.

~Charlie
Reply With Quote
  #3 (permalink)  
Old 02-04-05, 12:53 PM
kathryn kathryn is offline
Newbie Coder
 
Join Date: Dec 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Charlie,
No I never solved this problem. Put it on the back burner. It seemed like a great idea at the time I think I may need to come up with something new. Thanks for responding, sorry I didn't reply sooner I had given up.

Kathryn
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading XS Code from CGI - Not Possible?? aret Perl 1 12-21-04 01:33 AM
Perl + IE + Cookies Problem jebusCL Perl 1 12-08-04 12:31 PM
Perl CGI mail form script steezjjc Perl 1 11-02-04 09:59 AM
Perl coder needed XGamingZone Perl 1 09-17-04 07:19 AM
Can't seem to get the cookies to the cookie_jar benny666 Perl 1 10-28-03 04:54 AM


All times are GMT -5. The time now is 04:02 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.