473,800 Members | 2,518 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 1410
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****@jackson reed.com> wrote in message
news:eg******** ******@TK2MSFTN GP09.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****@jackson reed.com> wrote in message
news:eg******** ******@TK2MSFTN GP09.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****@jackson reed.com> wrote in message
news:eg******** ******@TK2MSFTN GP09.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****@jackson reed.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.publi c.dotnet.framew ork.aspnet
NNTP-Posting-Host: cs68201245-187.houston.rr. com 68.201.245.187
Path: cpmsftngxa07.ph x.gbl!cpmsftngx a06.phx.gbl!TK2 MSFTNGXS01.phx. gbl!TK2MSFTNGXA 0
5.phx.gbl!TK2MS FTNGP08.phx.gbl !TK2MSFTNGP09.p hx.gblXref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:2061 38
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.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****@jackson reed.com> wrote in message
news:eg******** ******@TK2MSFTN GP09.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****@jackson reed.com> wrote in message
news:u5******** ******@TK2MSFTN GP11.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_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.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****@jackson reed.com> wrote in message
news:eg******** ******@TK2MSFTN GP09.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
16028
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 height of 100%), it displays properly.. But firefox hardly produce the scrollbars on that division, and instead makes the whole page to scroll. I know there is some incompatibility between the two browsers as far as following the CSS standards,...
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 put either tag inside an HTML <TD> and have the same kind of scrolling effect. This would allow me to fill the screen and have the size of the scrolling box change on resize. Thanks in advance.
4
11265
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 at the top of the list moving down towards the bottom. The problem I was having was that the <select> control was scrolling back to the top of the page after the postback and the user would lose their place in the <select> control forcing them to...
1
1875
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 after a tag or before a tag And if it adds too many data after that tag, the whole page will become big and need to scroll down to see the latest added data how to let it scroll down automatically without any annoying scrolling down?
7
2635
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 they columns lose their alignment. Can anyone help me correct this?
8
4810
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 have a web page divided into two major segments, with the top segment fixed and the bottom segment allowed to scroll, thus giving the look of frames without frames. I also have anchors so that users can click on a letter of the alphabet to jump...
2
2978
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 url page
2
8416
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 needs to occupy the rest of the window and scroll of necessary. so the behaviour i'm looking for is similar to having 2 frames but all in one page. the following works fine in IE but not in firefox:
17
5108
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 so: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
0
10501
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10273
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10250
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7574
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4149
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 we have to send another system

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.