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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationhow to forbid going back after logout ??? and profile customizationhow to forbid going back after logout ??? and profile customization
Previous
 
Next
New Post
4/9/2008 3:55 PM
 

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/10/2008 12:49 AM
 

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 7:21 AM
 

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 11:50 AM
 

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
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationhow to forbid going back after logout ??? and profile customizationhow to forbid going back after logout ??? and profile customization


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