Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Redirecting to a non dnn aspx page causes current user to log out
Previous Previous
 
Next Next
New Post 3/6/2008 8:13 AM
User is offline David Dickinson
2 posts
10th Ranked


Redirecting to a non dnn aspx page causes current user to log out 

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 12:24 PM
User is offline mjliscio
110 posts
9th Ranked


Re: Redirecting to a non dnn aspx page causes current user to log out 

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 12:24 PM
User is offline mjliscio
110 posts
9th Ranked


Re: Redirecting to a non dnn aspx page causes current user to log out 

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:00 PM
User is offline David Dickinson
2 posts
10th Ranked


Re: Redirecting to a non dnn aspx page causes current user to log out 

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Redirecting to a non dnn aspx page causes current user to log out
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com
PartnerPoint | Community of Microsoft Partners
PartnerPoint is one of the largest and most active online communities of Microsoft Partners worlwide with over 8,000 members.
www.PartnerPoint.com
Web Valley
Website design, Database development
www.webvalley.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP