Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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
 
Old August 3rd, 2010, 04:38 AM
Registered User
 
Join Date: Jun 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Question Web Shop - Why do redirect to Login page?

In Web Shop project, when I browse to a page in Manegement folder then browser redirect to Login page, although I don't see code redirect to Login page. I don't understand this action, help me!!!

Thanks all,
Vu Nguyen
 
Old August 3rd, 2010, 04:40 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

This is standard ASP.NET behavior.

The Management folder is secured in web.config, so if you're not logged in as a user with enough permissions, ASP.NET takes you to the default Login page defined for forms authentication, which happens to be Login.aspx.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
nhvubak (August 3rd, 2010)
 
Old August 3rd, 2010, 05:04 AM
Registered User
 
Join Date: Jun 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Dear Mr. Imar,

As you helped, I found the tag <authentication mode="Forms" /> in web.config file. I understood this action.

Thanks you,
Vu Nguyen





Similar Threads
Thread Thread Starter Forum Replies Last Post
emailig in web shop sophia BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 17 October 20th, 2009 09:58 AM
Web Shop TB1962 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 January 26th, 2009 05:24 AM
How to redirect a web page ludigova Beginning PHP 1 September 4th, 2007 02:54 PM
Chapter 9 WebShop / Shop Default Page ASPLee BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 10 March 11th, 2007 03:40 AM
atlas and web shop gtjr92 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 October 21st, 2006 03:38 AM





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