Results 1 to 4 of 4

Thread: [02/03] Need Help on page authentication

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Location
    Dhaka, Bangladesh
    Posts
    102

    [02/03] Need Help on page authentication

    Friends,

    I have developed an web application with ASP.NET and it is running well.

    But a problem is still there. If someone logout and some other person come and click on BACK of Internet explorer he can go the pages that were viewed by the previous user.

    How can I protect BACK from my application?

    -Rajib
    Please Rate every reply if it is useful to u

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] Need Help on page authentication

    Prevent caching of the 'secure' pages of your website.

    vb Code:
    1. Response.Cache.SetCacheability(HttpCacheability.NoCache)

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Location
    Dhaka, Bangladesh
    Posts
    102

    Re: [02/03] Need Help on page authentication

    Mendhak,

    Thanks for ur quick response. Where I have to add this code?

    Rajib
    Please Rate every reply if it is useful to u

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] Need Help on page authentication

    Add it to the page load events of the pages which you do not want 'accessible' after they have logged out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width