Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Authentication Cookie, window.open, SSLAuthentication Cookie, window.open, SSL
Previous
 
Next
New Post
6/26/2009 5:50 PM
 

Hey everybody,

I've been googling and searching around forever for an answer to this and I think I've narrowed down the issue.

I have a main DNN Portal (let's call it Site1) and a Child portal of Site1 (let's call it Site1/child).

In Site1, there's a custom module that I've coded with a button. When that button is clicked, in the code behind, we essentially have:

Response.Write(<javascript..> window.parent.open(Site1/child?withsomeparams)</javascript.)

When the button is clicked, Site1/child opens fine and works fine. When I return to the Site1 window however, the Authentication Cookie is gone.

I've read that this is due to the fact that the Membership Module causes a clearing of the Authentication Cookie when there's a redirect to another portal. This is consistent because when I log in as host - I DON'T get this issue.

Furthermore, I only get this issue when my SITE is being hosted on SSL. On non-SSL, there's is no problem.

So basically, I'm pretty sure this is an Authentication Cookie issue - and it being cleared when there's a redirect. I'm on version 04.03.05 (and it might be a little hard for me to upgrade).

Is there an easy workaround. I heard something about passing the PortalId and ModuleID. If so, how would I do that?  - through params? if so what are the param names etc.? Again, keeping in mind that I'm using Response.Write("<script...javascript>window.parent.open(url)</script>") in the code-behind (the url is dynamically generated that's why it's being done in the code behind.

Any help would be greatly appreciated. Thanks.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Authentication Cookie, window.open, SSLAuthentication Cookie, window.open, SSL


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out