Css capability question
We are an ASP providing a java application that has custom built in load balancing. We're starting to outgrow the model and I'm wondering if a CSS is a possible solution (I use one for a web application as well).
The problem is this: if a server goes down, all sessions try to reconnect and the JVM can't handle the onslaught of hundreds of simultaneous re-connects. If we employ a CSS, is there a way to limit the number of new connections within a certain time period?
Also, authentication takes place over one port, then the application connects over another port. Is there a way to have a client perform authentication and run the application on the same server?
Thanks
you can't limit the number of connection per seconds. You can only limit the number of active connections with the command maxconnections.
Then to guarantee that the same server is used after login, you need some form of stickyness.
If you have a CSS layer 3 content rule which is not associated with a specific port, you can do sticky source ip to guarantee that the new connection on the different port will go to the same server.
Regards,
Gilles.
Similar Messages
-
Basic CSS Functionality Questions
Hi,
I have a CSS 11501 loaner on the way from Cisco, but was hoping to ask a few questions ahead of time. I am relatively new to this, so bear with me.
I have three offices connected via a VPN between two pix devices. Local users and anonymous web traffic all funnels through the remote office. I am hoping I can incorporate a CSS box to direct traffic (via a VPN to another pix) to a third office in the event the www server at the main office is not reachable, but return to the first office when it is back online.
I am a little confused by VIP. Right now, my domain name resolves to an IP address on the outside of my pix which NATs and sends the request on to my web server. If the CSS is behind it, do I create a VIP that maps to the actual IP of the www server, and have the pix send traffic to the VIP?
I have read the PDFs found online, but am still a little foggy.
Thanks,
JMthe Pix will have to send the traffic to the VIP.
The VIP should be an address existing only on the CSS and that the rest of your network knows how to reach.
The CSS will then nat to the real server ip.
Gilles. -
Hi guys,
Firstly a very Merry Christmas to you all !
I'm just getting to grips with converting all the text on my
site to CSS and have a quick question.
On some of my pages I add an 'Also see' links box aligned to
the right - it's a CSS div tag thingy someone kindly talked me
through once. All of my pages are built from a template with an
editable region.
My question is, can I add this box (perhaps with a standard
'Also check out' title and then spaces for my links) at the
template level? This will save me having to go to Insert>Layout
Objects>DivTag on every page. I've tried simply adding this to
the editable region of the template but it simply pushed the
editable region box over to the right and then didn't appear on my
pages
Also, the links box would ideally appear about half way down
my pages on the right...
Hope you can help, many thanks in advance!
James
Here's an example page where I have manually added my link
box on the right of the page...
http://www.fyrne.com/james_journalism/Pages/Mosaic_of_the_med.htmlYour CSS link implies that the CSS file is in the Templates
folder. You
shouldn't have anything there other than the template (dwt)
files
themselves. Please move it out to any other location in your
site.
<link href="../../Templates/Box.css" rel="stylesheet"
type="text/css">
Changes made to template editable regions would not propagate
to existing
child pages - that's why you aren't seeing that addition in
them....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"JamesFryer" <[email protected]> wrote in
message
news:[email protected]...
> Hi guys,
>
> Firstly a very Merry Christmas to you all !
>
> I'm just getting to grips with converting all the text
on my site to CSS
> and
> have a quick question.
>
> On some of my pages I add an 'Also see' links box
aligned to the right -
> it's
> a CSS div tag thingy someone kindly talked me through
once. All of my
> pages are
> built from a template with an editable region.
>
> My question is, can I add this box (perhaps with a
standard 'Also check
> out'
> title and then spaces for my links) at the template
level? This will save
> me
> having to go to Insert>Layout Objects>DivTag on
every page. I've tried
> simply
> adding this to the editable region of the template but
it simply pushed
> the
> editable region box over to the right and then didn't
appear on my pages
>
>
> Also, the links box would ideally appear about half way
down my pages on
> the
> right...
>
> Hope you can help, many thanks in advance!
>
> James
>
> Here's an example page where I have manually added my
link box on the
> right of
> the page...
>
http://www.fyrne.com/james_journalism/Pages/Mosaic_of_the_med.html
> -
CSS layout question regarding browser sizing
Hi,
Basically I want the basis of my site to be - A header, Main content with a background image, A Footer.
I'm having problems however, I can't seem to get my footer to position where I want it i.e. at the bottom of the browser window at all times. I'm doing it as an AP div and how it should work is that it's fixed at the bottom of the page and then if the user resizes their browser in the y direction the footer moves up with it, over the top of the main content (but not the header which will have a higher z-index).
The way I THOUGHT to do it was to firstly create a div tag for the whole page (780 pixels wide, auto left and right margins, auto height) and then inside that put my ap div header fixed height at the top and have another ap div as the footer, fixed height and tell it to position 0 pixels from the bottom. However this doesn't seem to do the trick, I'm sure I'm missing something really really simple. Anyone who's vaguely familiar with the program will be able to answer this I'm sure. If my question isn't clear please let me know and I'll rephrase,
TaThere is no reason to use APDivs for such a simple layout. Default CSS positioning (which is no positioning at all) is typically all you need for most layouts. Build your HTML markup logically from top to bottom of page and your footer will naturally appear at page bottom.
Live Demo (view page source to see the code)
http://alt-web.com/TEMPLATES/Basic-1-col-fixed.html
Or, for a Sticky Footer using Fixed positioning:
http://alt-web.com/DEMOS/CSS2-Sticky-Footer.shtml
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
Only making baby steps in CSS still but I am learning a lot. Here's a link to the page I am trying to create: http://www3.telus.net/~jessum/details_layout.html
Here's what I have managed to create so far: http://www3.telus.net/~jessum/details.html
When explaining any steps please explain it using Dreamweaver. I will be looking in the code to see how it all works but I want to be able to get proficient using Dreamweaver so I can see how things flow etc. before I try and hand code.
Questions
1. Is it a good practice to use a "container" to hold all of the div's or is it better to start by adding a header without a container?
2. How can I centre a div in the page?
I read that to align the div so it's "centred' in the page I can use: margin: auto;
but I'm not sure how to do this. Please explain.
3. How do I remove the space around the "container"? I've set the margin and padding to: "0" but the space is still there.
Thanksosgood_ wrote:
Not sure where this notion of using the body as a container came from but for years a wrapper or container was considered standard practice.
The idea is being promoted by several of the most active and knowledgeable members of this forum. I think the idea first came from Altruistic Gramps, and I remember debating the issue with him about a year ago. It has also been picked up enthusiastically by Murray, and I've seen Nancy O suggest the same idea.
I've been doing a lot of research into CSS3 recently, and discovered that the Borders and Backgrounds module specifically advises against styling the <html> element (http://www.w3.org/TR/css3-background/#special-backgrounds). It doesn't give a reason for this recommendation.
I suppose the idea of giving the body a width instead of using a container might come from the HTML5 definition of the body as representing the main content of the document (http://dev.w3.org/html5/spec/the-body-element.html#the-body-element).
I suspect that this is likely to develop into the same type of fruitless argument as we had several years ago about the "superiority" of ems over pixels. Adding a single <div> to act as the container or wrapper for the content doesn't strike me as being less efficient. It also has the advantage of avoiding styling the <html> element. -
Beginners CSS layout question - expanding a layer and not overlapping another
Having got well and truly fed up of using tables to layout
pages I am trying to gem up on CSS layer based layout. All well and
good but despite the various tutorials I can't find an answer to
this question...
Q. I have a layout with layers to make a three column layout,
however, I want to have a footer section at the bottom of the page
that runs the same width as the three columns (you can see my WIP
example here
http://www.spiralfilm.com/clients/broadoak/index_css.html
). Problem is, as the centre section expands with more content, how
do I make that section expand and not overrun the current footer
section? I want it to expand like a table does and push the footer
down.
I'm sure it is simple but I just can't get my head around it!
Thanks in advance for any pointers...> However, is the use of div tags the way to seperate
blocks of content? The
> DW8
> help file seems a little unclear on this?
Yes, it would be one way to do that. A div tag is simply a
container for
other HTML elements, like a table. The problem you are having
comes with
using DW 'layers' to contain text. As Thierry suggested, this
is because
absolutely positioned elements (i.e., DW 'layers') are
removed from the
normal flow, preventing them from interacting with adjacent
page elements -
this means that when the text inside them expands, it will
begin to overlap
other content. See my demonstration of this here -
http://www.great-web-sights.com/g_layers-overlap.asp
Try these tutorials -
http://www.macromedia.com/devnet/mx/dreamweaver/css.html
http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Benfrain" <[email protected]> wrote in
message
news:elgpba$qds$[email protected]..
> Hi, thanks for those links. Sorry to confess they are
all a little beyond
> my
> knowledge. I will read on and see if I can understand
them.
>
> However, is the use of div tags the way to seperate
blocks of content? The
> DW8
> help file seems a little unclear on this?
> -
Hi All,
I have a couple of questions around the CSS 11501 would be grateful if any gurus out there cud shed more light, here goes;
-Does the CSS support bridging between 2 vlans? In a similar way to the CSM. What command might be used to achieve this?
Thanks.
Kind Regards,Thanks for your response Giles.
Gotcha, further more ... so if CSS is L-2 adjacent to the servers do the servers have to have loopbacks created for the VIP?
I wud assume this wud be required as the CSS will only be re-writting the MAC address? Can you please shed more light here as well.
Cheers -
Api/capability question re. simple chat room creation
Hi
I stumbled across cocomo this evening and it looks like it could save a lot of time but need to know something before investing in a lot of reading/playing about. I need to be able to create a public chat room on-the-fly that will permanently stay.
I don't want to manually create a room.
Does the SDK allow this? (sorry if its an obvious question).
The app is a bit like a CB radio where a web user can pick a channel in their own geographical location. e.g. members of a particular zip area get directed to a room. If the room for that zip does not exist then it's created...
If all users go away the room remains. Other users can jump in etc..
Is the capability there? Anyone know of any close examples I could use ?
Thanks in advance.
Kevinyes, we provide service API that you can call from a separate server that allow you to create and manipulate rooms.
we have libraries for a few languages (ruby, python, php, java, ColdFusion) so it should be pretty easy for you to implement what you describe. -
I wish to maintain a "collection" of produced digital video clips that can be web published. Say, on the left side of web page screen, is the video clip field. On the right side, are fields to be filled in by user. (Data to be stored in database). Based on user supplied data in each field, the video would "jump" to the proper clip and play instantly. At the conclusion of enetering data and playing multiple clips, user data needs to be outputted to another database.
Please help...how can this be accomplished??? Final Cut studio? / Flash? / Cold Fusion? / Filemaker? / other database? / Flex?Thomas is right about this not being the best place to post. Not sure if there is a good forum here to do it in, since it's not an Apple related question.
Lucky for you, I happen to be a web designer. I'm a little confused as to how exactly this interface works (hint: don't make it over complicated), but I'm guessing the basic idea here is to have a user submit input through a form field, have it look up clip data in the database, have it return that data and start playing clips, and then save the timing information of that sequence of clips back to the database. Kind of sounds like a web-based editor. Pretty tricky.
Making this a Flash application would probably be your best on creating a good interface. I don't actually use Flash myself, but it seems like it would be capable. Your other option would be to use HTML and Javascript to build an AJAX interface. I think that would be a lot trickier, and feel a lot less slick.
As far as the backend goes, any of the major server side scripting languages will do the trick. PHP, ASP, Ruby/Rails, Coldfusion, etc. The industry standards for web applications databases are usually mySQL or PostgreSQL.
If this is a serious project, as opposed to simply an experiment, I would look into finding a talented web designer with skills in the above mentioned technologies. This isn't something that can be hacked together quickly, or easily.
Mac Pro 2.66Ghz - 3GBs RAM - X1900XT Mac OS X (10.4.8) -
I had font-size = 12 as a global CSS tag. Changed to 14 but no updates of existing elements displayed. Exited app and restarted, now CSS displays as 14pt in the property sheet but obviously still really 12 pt on run. Is there a call or invalidateDisplayProperties or something that can help refresh this?
Mahmoud_Rabie wrote:
Dear Experts,
Given:
The sample:
http://apex.oracle.com/pls/apex/f?p=53647:5
test/test
Workspace information
Workspace : ralab
user : test
password : test
application : Sample Trees
page : 5
Required
I can change node color using jQuery contains() selector based on a value e.g. Project
apex.jQuery("#eba_demo_tree").find("a:contains('Project')").css("color","red");Now, the question how to update the jQuery code to do change the node based on a regular expression like
^[P]or in other words for all nodes starts with P, the color should be changed to redDon't think I can recall anyone posting a thread so they can answer another one (and demand points for doing so) before.
If anyone's up for it, just answer the original: +{thread:id=2491175}+ -
Hi guys,
I have one request, remote users dial into our sslvpn box, get their IP from an IP pool(sslvpn tunnel mode), then terminal to some servers. I plan to put a CSS in front of these terminal servers.
But one question is about stikcy problem. How can I configure the CSS to let one user go to the same terminal server all the time when he dials into our intranet?
Thank you.
EdEd,
there is not much option.
It's either the ip address or we can spoof the data and find something else to match on.
But the CSS can only spoof HTTP and HTTPS.
So, for your terminal server I do not see a solution.
Gilles. -
sometimes a piece of css will look like this
#toolbar {
background-color: #313031;
padding: 5px 0px 5px 0px;
and sometimes it looks like this
.toolbar {
background-color: #313031;
padding: 5px 0px 5px 0px;
(note the # is replaced with a . )
is there any difference between the 2 ways of putting it?cancel the last question
i think i discovered what it is
# selected ID elements
. selects class elements -
Hi Everyone
I have several sites that I'm getting rid of some older CUCM 4.3 boxes and I have a question about CSS and PT. Currently none of the sites are connected by to a PUB & SUB setup, all the sites are independent of each other but when I remove the older boxes and they just have the GW and they connect across the want I wanted to know can I use the current CSS & PT that I currently have on my SUB at our data center. I've checked all the boxes and they have the exact same setup as CSS & PT goes. But once they all connect back will I have to change anything or would I have to make any additional ones. I'm attaching a copy of the names that we have and these names again are the same on all the older boxes and on our new PUB & SUB.
EricThat's up to your dial plan and requirements, you need to define whether the current dial plan adjusts to what the company wants, or if you need to modify it, but that's up to you.
-
Video upgrade capability questions,
HI, im looking to upgrade my video card on my hp pavilion p7-1003w,
my specs are:
AMD Athlon II X4 650:3.2 ghz
8 GB of ram
250W power supply
N-Alvorix-RS880-uATX (Alvorix) mother board.
windows 7 64 bit,
ATI Radeon 4200
I would like to now if my computer would be capable of running a :
XFX ATI Radeon HD6670 1 GB DDR5 VGA/DVI/HDMI PCI-Express Video Card HD667XZAF3
efficently, and would be compatable,
i have never upgraded my video card before and if you need any aditional information please tell me,
-Conner
This question was solved.
View Solution.The Corsair CS500 is a great choice according to other users on this forum. It is fully confirmed to fit in the space provide and has enough juice to do the job you want it to do.
Frank
Frank
{------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
This is a user supported forum. I am a volunteer and I don't work for HP.
HP 15t-j100 (on loan from HP)
HP 13 Split x2 (on loan from HP)
HP Slate8 Pro (on loan from HP)
HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240 -
CSS Layout Questions [locked]
Here's a link to the page I am trying to create: http://www3.telus.net/~jessum/details_layout.html
Here's what I have managed to create so far: http://www3.telus.net/~jessum/details.html
When explaining any steps please explain it using Dreamweaver. I will be looking in the code to see how it all works but I want to be able to get proficient using Dreamweaver so I can see how things flow etc. before I try and hand code.
Questions
1. Is it a good practice to use a "container" to hold all of the div's or is it better to start by adding a header without a container?
2. How can I centre a div in the page?
I read that to align the div so it's "centred' in the page I can use: margin: auto;
but I'm not sure how to do this. Please explain.
3. How do I remove the space around the "container"? I've set the margin and padding to: "0" but the space is still there.
ThanksMurray *ACP* wrote:
You already have a "container" - the body tag. You can center the page by giving the body an explicit width and then left/right margins of auto, e.g.,
body {
width:960px;
margin:0 auto;
The idea of using the body to centre the page seems to have become fashionable of late. The problem with doing so is that it leaves an unstyled area on the body's background extends into the left and right margins when displayed on a screen that is wider than the body. So, followers of this fashion then style the <html> element.
The CSS3 Borders and Backgrounds module specifically advises against styling the <html> element. See http://www.w3.org/TR/css3-background/#special-backgrounds.
Message was edited by: David_Powers to correct description of what happens in the margins.
Maybe you are looking for
-
Hi PP Gurus, I have a problem while cancellation of conformations. I have created a Production order and confirmed the same by co11n, the same is cleared in quality also. I want to cancel the above confimation By using co13 i have cancelled the same.
-
Folks, I have 3 UNIX machines with 3 Managed WebLogic servers.If I want to do clustering, is it necessary to have the same port number for these 3 managed weblogic servers? MachineA:30000, MachineB:30000, Machi
-
How do I run a slideshow on my MacBook Airfrom my external DVD?
how do I run a slideshow on MacBook Air from my external DVD?
-
Hello, We are running 8i. I need to perform a one-time extract of data from a dozen or so moderate sized tables (approx 3 million rows/table) for transmission to another platform. Is there a "bulk" unload program/utility/command I can use to accompli
-
Ipod has sad face & other things HELP!
my ipod won't do anything! it froze and then a sad face ipod popped up! i tried restoring it but the updater keeps saying, "can't mount iPod" and my iPod, meanwhile, has the apple logo on the screen constantly and then it flashes and the sad face pop