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  |  

AspDotNetStoreFront
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  how to forbid going back after logout ??? and profile customization
Previous Previous
 
Next Next
New Post 4/9/2008 1:55 PM
Resolved
User is offline Mazen
26 posts
10th Ranked


how to forbid going back after logout ??? and profile customization 

Hello everyone,

I noticed that the portal takes us when we press the back button of the browser to the previous page as if we didn't logout at all. This is somewhat a security issue for portals running on public devices. How can we forbid going back, and what are the necessary code changes that should be done? i'm a C# programmer so i need some help modifying the vb code.

And concerning the profile module is there any way we can change how the fields are being displayed for example horizontal and vertical instead of just vertical, i think there's a lot of wasted space if we do not use the visibility feature and users have to scroll a lot to get to the end of the page if we have a lot of entry fields and there's no focus on the validated controls, a user can remain at the end of the page thinking that there's something wrong redirecting  the page without  noticing his error.  One more thing if we check "require valid profile for registration" we'll get for example two first and last name fields one in the registration form and another in the profile form, how can we populate the content of one from the other since they should be the same or at least make it invisible if we're selecting this option.

Thank you.

 

 

 
New Post 4/9/2008 10:49 PM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: how to forbid going back after logout ??? and profile customization 

Can you give me a step by step way to recreate what you're seeing (along with DNN version, provider version if not the standard DNN provider,etc. )? I just logged into one of the portals I host with a general user, went to a page that only Registered Users have access to, went to another page, logged out and then clicked on back and wasn't logged in and had to re-login to see the content.

Or did you mean when a person is logged into a DNN site, leaves the site without logging out, and then goes back?

As for your second question, I haven't looked at the .ascx page but it may be possible to just change the layout of the page without having to change any of the code.

And for your third, good question. Without a post-back of some sort after they enter values in the fields in the first place it would be pretty difficult to populate the second text boxes.

 
New Post 4/19/2008 5:21 AM
User is offline Mazen
26 posts
10th Ranked


Re: how to forbid going back after logout ??? and profile customization 

Thanks for the response Mike, I was rechecking this issue today and it seems it's happening when i'm going into a custom module i've created that uses the userId as a session parameter. when you logout of the portal you can actually press back and return as the loged out user. I think using a querystring will solve the issue i'll try out.

But i've noticed also that you can login to the portal press back and then press forward and you're logged in again try it...

Best Regards.

Mazen.

 
New Post 4/19/2008 9:50 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: how to forbid going back after logout ??? and profile customization 

Logging into the portal and going back and then forwards and still be logged in actually makes sense and I'm pretty sure that's just the nature of browser's/web surfing. I'm not going to pretend I know all the details but I believe it session related and as long as the browser isn't closed session states stay in memory on your (the end user) computer. I.E. I can go into the webmail from my ISP, check my email, browse other sites, etc, and go back to my webmail hours later and it takes me straight to my webmail without having to log in again. However if I close my browser at anytime between visits I have to login to my webmail again. I've seen that on numerous other websites as well.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  how to forbid going back after logout ??? and profile customization
 


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.

 


WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com

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