473,473 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Random Redirect problem

I have a problem with a ASP.NET web site. I?m using Windows2000Server SP4, .NET Framework 1.1. The problem is that sometimes(relatively seldom) when browsing the Administration Console(see below) a redirect (unwanted and unexpected) is made to thePublic Site to a random page. Often (almost in every of thecases) the redirect is to a page of the UserPart of thePublicSite with a User logged in! I?m almost sure that the Userwas browsing the site in that moment. The redirect is made notonly from one Admin page.
The site is made around a CMS. Every page has base template,which has several placeholders. In every placeholder anUserControl can be put. The user controls are the elements ofthe pages ? Body, Navigation, Message board etc. Every page hasseveral records in the database holding the position and thecontent of the UserControls.
The site is divided in two parts ? Public Site and AdministrationConsole. The admin console contains the controls necessary toconfigure the public part.
The loading of the Public pages is done by a request to thedatabase. Every page has its own unique PageId which determineswhat to put on it. For example: Page = 5 has in placeholder 1 ?TopNavigation.ascx, placeholder 2 ? BreadCrumbs.ascx,placeholder 3 ? SideNavigation.ascx, placeholder 4 ? PageBody,placeholder 5 ? empty, placeholder 6 ? news.
The PublicSite has a part for the users, which can be read bylogging into the system (Forms authentication). There some ofthe user information (name, email, password etc) can be changedand there is also access to some private areas (the Forum forexample). After authentication an object containing some userinformation is created in the Session.
The Administration Console is also a CMS, but much more staticthan the Public Site. The public site has its own public.aspx,and the Administration Console its own console.aspx, but theyare in the same application.

Any ideas will be greatly appreciated!
Thanks in advance.
--------------------------------
From: Valeri Hristov

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>3HfhPwg3+EaqYFnrHK0T/g==</Id>
Nov 18 '05 #1
0 936

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Steve Lutz | last post by:
Hello, I have a page that creates a class, and then on certain conditions, redirects user to another page. The class has a Class_Terminate() function that saves itself to a database. The class...
10
by: Virus | last post by:
Ok well what I am trying to do is have 1.) the background color to change randomly with 5 different colors.(change on page load) 2,) 10 different quotes randomly fadeing in and out in random...
4
by: TomT | last post by:
Hi.. I'm redirecting users to another page using: response.redirect("newpage.asp") this works... But I need to add a variable to the page specified.. IE: newpage.asp?id=JobID
1
by: Daniel | last post by:
streaming random filetypes from .aspx how to stream a file from inside a .aspx? e.g. so one could go href="./foo.aspx?file=bar.mp3" or href="./foo.aspx?foo.dat" etc. preferabley i would like...
6
by: Valeri Hristov via .NET 247 | last post by:
I have a problem with a ASP.NET web site. I?m using Windows2000Server SP4, .NET Framework 1.1. The problem is that sometimes(relatively seldom) when browsing the Administration Console(see below) a...
2
by: news://news.microsoft.com/microsoft.public.de.germ | last post by:
Hallo! Ich habe ein Frameset mit 3 Frames. Im 1. Frame wird eine ASPX-Seite geöffnet. In dieser werden einige Steuerelemente angezeigt. Nun soll bei bestimmten Benutzeraktivitäten eine andere...
5
by: Alan Silver | last post by:
Hello, I have a page that is supposed to do some checking, and if OK, set a session variable before redirecting to another page. The following code is a simplified version, I have hard-coded the...
4
by: tshad | last post by:
I am trying to set up an Image authorization where you type in the value that is in a picture to log on to our site. I found a program that is supposed to do it, but it doesn't seem to work. ...
5
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
12
by: =?Utf-8?B?cGI=?= | last post by:
I am having trouble doing a redirect in an async asp.net implemention. Most of the time it works, but when it doesn't it just "hangs", the browser never gets any return page. If I run it under the...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.