Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 11th, 2008, 06:00 AM
Authorized User
 
Join Date: Feb 2008
Location: Bangalore, A.P, India.
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default Security In Asp.net 2.0

Hi all,

I have a login form and after valid credentials are submitted then it goes into form A.aspx.After i click the browser's(IE)back button and again front button it is not asking the login credientials.It is showing A.aspx directly.I mean to say how to implement security for my web site using Authentication and authorisation.....

Thanks in Advance....
  #2 (permalink)  
Old February 11th, 2008, 09:17 AM
Authorized User
 
Join Date: Jan 2007
Location: Islamabad, Punjab, Pakistan.
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84
Default

Dear I think you just need to do following on page load(login page or any other):

Response.CacheControl = "no-cache"

Hope it will work.

Regards,
Ali Irfan
  #3 (permalink)  
Old February 11th, 2008, 10:15 AM
Authorized User
 
Join Date: Feb 2008
Location: Bangalore, A.P, India.
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear ali irfaan,

Nice to hear answer from a pakistani guy.Gud.I am an indian :).Cool
I shall implement your solution..

Thank you Bhayya,


Similar Threads
Thread Thread Starter Forum Replies Last Post
PageWise security in asp.net balesh.mind ASP.NET 2.0 Professional 1 February 29th, 2008 01:37 PM
Integrating Security with ASP and ASP.NET thenoseknows ASP.NET 2.0 Professional 1 July 25th, 2007 05:11 PM
ASP.NET and directory security quintesv ASP.NET 1.0 and 1.1 Basics 1 September 26th, 2006 09:41 AM
ASP.NET Security unclehughie Wrox Book Feedback 0 July 16th, 2003 03:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.