473,499 Members | 1,589 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scrolling Warning on Bottom of Page

Hello,

I have two environments, QA and Production. When the users are testing, I
want them to know they are in the QA environment versus the Production
enviroment. One solution would be to use the bottom area of the ASPX page
(not sure what it is called) that informs you what page is loading and then
it says Done upon completion. At some websites I see this used to present a
scrolling banner in that area. How does one do this...what is the property
(of the Page I guess).

Any other ideas on how to distinguish the two environments would also be
most welcome.

Regards,

Paul
Nov 18 '05 #1
6 1393
Well, there is no way to tell from ASP.NET point of view. It can't tell
whether the server it is on is production or QA.

I would suggest creating such a banner, and have code in your page, to
display it if a Web.config setting is set. You would then set this setting
on the QA server, but not in production.

"paul reed" <pr****@jacksonreed.com> wrote in message
news:eg**************@TK2MSFTNGP09.phx.gbl...
Hello,

I have two environments, QA and Production. When the users are testing, I
want them to know they are in the QA environment versus the Production
enviroment. One solution would be to use the bottom area of the ASPX page
(not sure what it is called) that informs you what page is loading and then it says Done upon completion. At some websites I see this used to present a scrolling banner in that area. How does one do this...what is the property
(of the Page I guess).

Any other ideas on how to distinguish the two environments would also be
most welcome.

Regards,

Paul

Nov 18 '05 #2
we have a header where we pull the App name from a value set in the
Web.config. We maintian seperate web.config files on the seperate systems,
and put a (DEV) or (QA) or whatever in the App name value we used.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"paul reed" <pr****@jacksonreed.com> wrote in message
news:eg**************@TK2MSFTNGP09.phx.gbl...
Hello,

I have two environments, QA and Production. When the users are testing, I
want them to know they are in the QA environment versus the Production
enviroment. One solution would be to use the bottom area of the ASPX page
(not sure what it is called) that informs you what page is loading and then it says Done upon completion. At some websites I see this used to present a scrolling banner in that area. How does one do this...what is the property
(of the Page I guess).

Any other ideas on how to distinguish the two environments would also be
most welcome.

Regards,

Paul

Nov 18 '05 #3
It sounds like you're talking about the status bar at the bottom of the
window. This can be manipulated via JavaScript. The window.status property
is the text you see in the Status bar. To make it scroll, you loop through a
string, adding a letter at a time, and setting the window.status property
each time.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"paul reed" <pr****@jacksonreed.com> wrote in message
news:eg**************@TK2MSFTNGP09.phx.gbl...
Hello,

I have two environments, QA and Production. When the users are testing, I
want them to know they are in the QA environment versus the Production
enviroment. One solution would be to use the bottom area of the ASPX page
(not sure what it is called) that informs you what page is loading and then it says Done upon completion. At some websites I see this used to present a scrolling banner in that area. How does one do this...what is the property
(of the Page I guess).

Any other ideas on how to distinguish the two environments would also be
most welcome.

Regards,

Paul

Nov 18 '05 #4

Separate Web.Configs is the way to go for disparate staging / qa / prod
servers. Maintenance is easy, and it's idiot-proof if you have
unknowledgable IT guys doing server updates. It also lets you really
control the environments if you have different db's / backends /
filesystems for these environments.

Where / If you present this information to the user is up to you -- in
general I think it's a bad idea since you're altering the output of your
application. If your users / testers are really getting confused, maybe
you need new ones =) If you absolutely must present it somewhere, I
suggest a login screen, or on the first screen the testers see.

Also, keep in mind that it's useful to have a global constant or enum that
describes the environment the server is in. This is helpful in logging,
errors, etc... If you do that, make sure you're only loading the
environment data once, and keep it in a constant / static variable so you
don't waste time on lookups while your app is running.

--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).
--------------------
From: "paul reed" <pr****@jacksonreed.com>
Subject: Scrolling Warning on Bottom of Page
Date: Thu, 29 Jan 2004 11:01:03 -0800
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eg**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: cs68201245-187.houston.rr.com 68.201.245.187
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GXS01.phx.gbl!TK2MSFTNGXA0
5.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gb lXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:206138
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hello,

I have two environments, QA and Production. When the users are testing, I
want them to know they are in the QA environment versus the Production
enviroment. One solution would be to use the bottom area of the ASPX page
(not sure what it is called) that informs you what page is loading and then
it says Done upon completion. At some websites I see this used to present a
scrolling banner in that area. How does one do this...what is the property
(of the Page I guess).

Any other ideas on how to distinguish the two environments would also be
most welcome.

Regards,

Paul


Nov 18 '05 #5
Curt,

Thanks...but where do you display this value you extract from the web.config
file?

Thanks,

Paul

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
we have a header where we pull the App name from a value set in the
Web.config. We maintian seperate web.config files on the seperate systems,
and put a (DEV) or (QA) or whatever in the App name value we used.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"paul reed" <pr****@jacksonreed.com> wrote in message
news:eg**************@TK2MSFTNGP09.phx.gbl...
Hello,

I have two environments, QA and Production. When the users are testing, I want them to know they are in the QA environment versus the Production
enviroment. One solution would be to use the bottom area of the ASPX page (not sure what it is called) that informs you what page is loading and then
it says Done upon completion. At some websites I see this used to present a
scrolling banner in that area. How does one do this...what is the

property (of the Page I guess).

Any other ideas on how to distinguish the two environments would also be
most welcome.

Regards,

Paul


Nov 18 '05 #6
we use it in a header control, but you could use it anywhere... Page Title,
status bar, on the page, anywhere you like.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"paul reed" <pr****@jacksonreed.com> wrote in message
news:u5**************@TK2MSFTNGP11.phx.gbl...
Curt,

Thanks...but where do you display this value you extract from the web.config file?

Thanks,

Paul

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
we have a header where we pull the App name from a value set in the
Web.config. We maintian seperate web.config files on the seperate systems,
and put a (DEV) or (QA) or whatever in the App name value we used.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"paul reed" <pr****@jacksonreed.com> wrote in message
news:eg**************@TK2MSFTNGP09.phx.gbl...
Hello,

I have two environments, QA and Production. When the users are testing,
I want them to know they are in the QA environment versus the Production
enviroment. One solution would be to use the bottom area of the ASPX page (not sure what it is called) that informs you what page is loading and

then
it says Done upon completion. At some websites I see this used to present
a
scrolling banner in that area. How does one do this...what is the

property (of the Page I guess).

Any other ideas on how to distinguish the two environments would also

be most welcome.

Regards,

Paul



Nov 18 '05 #7

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

Similar topics

5
16000
by: Steve Belanger | last post by:
Has anybody heard or figured out a way to make a DIV with overflow: scroll to look the same in IE and Firefox in IE i have one table splitted in two, the bottom part is the scrolling (Set to a...
44
919
by: Jim M | last post by:
I have had great success with using <iframe> with overflow-y set to auto. I can get a similar look with the <iframe> tag. BUT... In all cases I need to have fixed heights. Is there a way to...
4
11247
by: headware | last post by:
I have a <select> control that contains many entries. It allows the user to multi-select a group of them, click a button, and store the selected data in a database. Normally they do this starting...
1
1861
by: zhifchen | last post by:
Hi guys, I have some problem about my little http/javascript/xmlhttpreq based chatroom program: I use xmlhttpreq object to add data to the current html file. It will add to a specifiy place, like...
7
2602
by: Shawn B. | last post by:
Greetings, I am trying to create a table that has a scrolling body. The problem I'm experiencing is that if the columns in the "body" part of the table exceed the width of the "header" then...
8
4779
by: knoxautoguy | last post by:
This problem has consumed a lot of my time, and I'm aftraid someone will tell me that my whole approach to this objective is wrong; however, I would like to know if there is a way to do this. I...
2
2937
by: P2P | last post by:
Hi I am wondering if someone know of a free cross-browsers vertical scrolling script that - is cross cross-browsers - will call the scrolling content from an external html page or from a...
2
8394
by: Andy Fish | last post by:
Hi I have quite a simple requirement. at the top of a page I would like to have a fixed-height area (which will be used as a "toolbar") and the main the content will be in the bottom part whch...
17
5081
by: Zytan | last post by:
I can scroll a WebBrowser to the bottom like so: if (webControl.Document != null) webControl.Document.Body.ScrollTop = int.MaxValue; But, if I include a proper DOCTYPE (for XHTML 1.1 DTD) like...
0
7009
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6899
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
5475
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,...
0
4602
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3103
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
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
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 ...
0
302
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.