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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

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
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  PayPalSubscription.aspx -- UNsubscribe?
Previous Previous
 
Next Next
New Post 7/16/2008 3:47 PM
User is offline CJones
37 posts
10th Ranked


Re: PayPalSubscription.aspx -- UNsubscribe? 

 RDO wrote

To try to narrow down what may be causing the problem, I started removing code, section by section and re-trying the redirect. I got it all the way down to

Imports System
Imports DotNetNuke

Namespace YourCompany.Modules.PGT
    Partial Class ViewPGT
        Inherits Entities.Modules.PortalModuleBase
        Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
            Response.Redirect("http://www.microsoft.com")
        End Sub
    End Class
End Namespace

Still the same thing. If logged in as Host or Admin, it works, for any other user, it only refreshes the page....

 

If you are using an ImageButton, I think you'll have to change your eventargs to:  ByVal e As System.Web.UI.ImageClickEventArgs

I don't know how that would be different according to what user you are logged in as, though.  Can you redirect to an 'internal' page when logged in as a regular user or are you just having problems redirecting to an 'external' site?  Also, when you click the button are you sure it's doing a refresh or is it just not taking you to the new site?

 
New Post 7/16/2008 3:49 PM
User is offline CJones
37 posts
10th Ranked


Re: PayPalSubscription.aspx -- UNsubscribe? 

 RDO wrote

Ok Guys, Im back again.

CJ, I thought my issue with having the "Text=" still listed in my ImageButtons was causing the problem with the page not redirecting. After I deleted that, it worked, but not for good. I know this sounds weird and does not make sense but... It seems to be working when it wants to...... I can click the button, and it works, refresh, and it dosnt,  refresh a few times and it will work again...... AHHHHH Anyway, right now my .vb has 2176 lines of code. Can this cause a problem? Is it actually possible for the compiler to "miss" its sub and go past it? I am totally lost, I have never had a code work sometimes then not others....

 

Thanks

I don't think it's possible for a compiler to 'miss' parts of code.  2100 lines of code really isn't a lot compared to what a lot of businesses are building these days.

With what you describe, it sounds like a permissions issue, but I'm not sure if it is on the System side or the DNN side.

 

 
New Post 7/17/2008 8:34 AM
User is offline Dwayne Baldwin
522 posts
8th Ranked




Re: PayPalSubscription.aspx -- UNsubscribe? 
Modified By Dwayne Baldwin  on 7/17/2008 10:35:40 AM)

I don't recall the exact formula to the limit but I do know that the length of the role name plays a factor because user roles are stored in the cookie. It would be simply too demanding on the database to query every role for every module in real time.

Longer role names=lower maximum role count

Again, the only way is to test it is with real values.

I hope this is of some help to you.


Dwayne J. Baldwin
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  PayPalSubscription.aspx -- UNsubscribe?
 


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.

 


DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
Verndale - Web Development, Support, Hosting
Since 1998, Verndale has helped hundreds of emerging and midsize businesses maximize the value and reach of their web assets with a comprehensive offering of strategy, design, development, search marketing and support services.
www.verndale.com
Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com

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