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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0What do I need to change to make "back" work?What do I need to change to make "back" work?
Previous
 
Next
New Post
4/10/2006 4:10 AM
 
I just dont seem to be able to remember what it was that I needed to change in order to make "back" in the browser work? I recall it was some setting somewhere, but not which one. Please help

/pJ

(Search here or at asp.net gives nothing)

 
New Post
4/10/2006 1:29 PM
 

I am going to assume you mean that when you hit back you get a page expired message.  This is because of ASP.NET doing postbacks.  So IE sees every page load as the result of form input.

In custom modules you can avoid this by passing information via the querystring.  Or if you do a post back, do a response.redirect to your distination page.  (pass data in session or cache or querystring). 

Then the page will be loaded as the result of a GET not a POST and your back button will be much happier.

 


Jeff Martin
MCSD C#
 
New Post
4/10/2006 5:20 PM
 
Yes, you are right, sorry for not being clear about that. I think I remember there was some very simple solution to this, simple as in changing a setting or similar. I know I did solve it and if my memory isnt all screwed up, it was a simple fix.

/pJ
 
New Post
4/11/2006 11:27 AM
 
well if you find it let me know.

Jeff Martin
MCSD C#
 
New Post
4/12/2006 11:34 AM
 
Posted by Cathal over at asp.net:

It's not a setting. We have code in default.aspx.vb that ensures that there is no caching, as otherwise it would be possible to view pages in the internet browser cache when you press back i.e. if an admin logs out, an anonymous user with access to the machine could view secured pages. If you want you could comment out the following section to reverse this, but please consider the security implications.

' avoid client side page caching for authenticated users
If Request.IsAuthenticated = True Then
Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache)
End If

/pJ
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0What do I need to change to make "back" work?What do I need to change to make "back" work?


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