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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Redirecting to a non dnn aspx page causes current user to log outRedirecting to a non dnn aspx page causes current user to log out
Previous
 
Next
New Post
3/6/2008 12:13 PM
 

I have a non dotnetnuke aspx page sitting in a folder that is nothing to do with dnn.

ie.... mypage.aspx

with the content
<html><head></head><body></body></html>

in my module, on a control (a button will do) the click event contains

 

"<script language='JavaScript'>window.open('" & ResolveUrl("~/mypage.aspx") & "', '', 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,left=0,top=0,width=1000,height=700')</script>")

 

as expected, this pops open a new window (my blank window) however, if i click the button again, i am directed to the log on page.

If the webpage being directed to is outside of my website then it does not log the user off. ie 

Response.Write("<script language='JavaScript'>window.open('http://www.yahoo.co.uk', '', 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,left=0,top=0,width=1000,height=700')</script>")

works every time.

anybody got any ideas ?

-regards-

dave

 

Response.Write(

 
New Post
3/6/2008 4:24 PM
 

try putting an ASP link button in your module.  It worked for me.

 

<

asp:HyperLink ID="HyperLink1" runat="server" Target = 'blank' NavigateUrl ="~/DesktopModules/yourlName/e.aspx" Visible="False">inYour Text Here</asp:HyperLink><br />

 
New Post
3/6/2008 4:24 PM
 

try putting an ASP link button in your module.  It worked for me.

 

<

asp:HyperLink ID="HyperLink1" runat="server" Target = 'blank' NavigateUrl ="~/DesktopModules/yourlName/e.aspx" Visible="False">inYour Text Here</asp:HyperLink><br />

 
New Post
3/6/2008 8:00 PM
 

yeah... thats fine for a static object.... but what about a code behind method.....

logic in the click event that decides where to go..

i think that the aspx page is interfering with the 'request.isauthenticated' and causing the user to log out.  even though there is no reference to dnn in the web pages.

the control i'm using and responding to is an intragistics treenode_click thats returning a key, i respond to that key and set some session variables, redirect to the page and display a report.

i cannot use your method for this. though, i do acknowledge that its a solution for the question i asked.

-regards-

dave

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Redirecting to a non dnn aspx page causes current user to log outRedirecting to a non dnn aspx page causes current user to log out


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