Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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 December 13th, 2006, 08:07 AM
Authorized User
 
Join Date: Feb 2006
Posts: 63
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Hannibal
Default Navigation url problem?

Hi..

I have created a test website using Asp.net and c#. The problem is in the Navigation. If the user is in admin page, and if the user clicks on logout page(similarly all the other pages) , the next page is displayed, but its showing the admin.aspx in the url rather than the corressponding pages url. why is this happening? and how to correct it.

I have used the code in the click event as :

Response.Redirect("Loginpage.aspx",false);

i have also tried with the : Response.Redirect("Loginpage.aspx",true); option, but its not working.

please help.


 
Old December 14th, 2006, 05:23 AM
Authorized User
 
Join Date: May 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

are you using formsauthentication or using Sessions

-------------------
rajkumar sharma
http://www.apnasaathi.blogspot.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
navigation bar problem Aritra ASP.NET 1.0 and 1.1 Basics 5 March 13th, 2007 12:32 PM
Add parameter to "navigation" url - roy_mm Reporting Services 1 October 16th, 2006 07:00 AM
Problem with navigation in frames wish147 Dreamweaver (all versions) 0 August 30th, 2006 09:53 AM
problem in auto page navigation of data grid in AS kranthipriya ASP.NET 1.x and 2.0 Application Design 1 February 23rd, 2005 08:01 PM
page with navigation bar problem zouky ASP.NET 1.0 and 1.1 Basics 0 October 21st, 2004 03:03 AM





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