Support » Plugin: Advanced iFrame » Display content without passing session

  • Resolved cl0ne

    (@cl0ne)



    Hi!

    I wanted to know if the following was possible: Allow logged in users to see content on a page that is otherwise reserved for visitors who are not logged in. Is this possible with iframes? I want the convenience of being logged in but seeing content that exists for guests. How can I do this without opening a private window, logging out first, etc.

    Thanks you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mdempfle

    (@mdempfle)

    The session handling has nothing todo with the iframe. But where is the problem to display not logged in content? Can you not simply include this content to an iframe and display it on a logged in page?

    Best, Michael

    Hi Michael,

    Thanks for getting back to me. That clears things up. Actually, my intention is not to display ordinary content for logged-in users, rather very specific content, i.e. registration form. I would like to allow the admin access to the registration form to register users from front-end instead of back-end. That part is important. That’s why I’m trying to figure out how I can do this without having to log off first and then fill out the form.

    As you may know about registration forms, they don’t display (for obvious reasons), if you are already logged in.

    Thanks

    Plugin Author mdempfle

    (@mdempfle)

    Sessions are bound to a cookie normally. So nothing the iframe can directly influence. What you might can do is to create a kind of subdomain with the same content.
    I can e.g. create subdomains and specify a folder at my hoster. When you then link an iframe to this no cookie for this sub domain is there and you get the normal registration form. But then you are on the subdomain.

    Maybe this helps,
    Michael

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display content without passing session’ is closed to new replies.