Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 19. Apr 2024, 08:45

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Pass Cookies to iFrame
PostPosted: 21. Mar 2015, 04:33 
Offline

Joined: 20. Mar 2015, 17:42
Posts: 14
For iFrames loaded from an external domain, I'd like to be able to read the cookies from the primary domain. In the External Workaround section, could you add an option, "Cookie Forward Parameters"? This would work the same way as URL Forward Parameters, except it would obviously pass the cookie values to the iFrame and set those cookies on the external domain.


Top
 Profile  
 
PostPosted: 21. Mar 2015, 09:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Do you need the content of a cookie?
So you can e.g. read the cookie at the parent and then add the content to the url and pass it in the iframe again.

Best, Michael


Top
 Profile  
 
PostPosted: 22. Mar 2015, 00:06 
Offline

Joined: 20. Mar 2015, 17:42
Posts: 14
I realize that I can add the cookie value to the URL, but that would require a page reload, plus I really don't want the user seeing that in the URL.

One of the main benefits of your plugin is that it enables people to easily integrate content from external domains via an iFrame. In this context, it would make a lot of sense to add a feature that would transparently pass cookie values to the external domain. It would act as a complement to the URL feature for scenarios like what I described above.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy