473,503 Members | 3,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Refresh webpage with javascript

Hello

I have three frames on my webpage, and two remain constant (the top
and left menu bar). Depending on the selection the user makes in the
left menu, the third frame changes the pages (jsp). Now, my
application has a security system which is controlled by the left menu
bar which does not change until the entire page is reloaded (not just
the main frame). And if a user actually goes into his profile settings
and makes changes to his profile (ie, changes his security levels), I
need that to reflect in the left menu bar. The only way I can get this
done is if I reload the entire page (all the three frames). But if I
do a submit in the mainframe, it just loads the new page in the
mainframe and not in the entire window. Not sure how to fix this. Can
someone help me with this?
I hope this is clear enough.

Thanks in advance.

Gobind

Aug 20 '07 #1
1 2498
On Aug 20, 10:56 am, Gobind <gobind.jo...@gmail.comwrote:
I have three frames on my webpage, and two remain constant (the top
and left menu bar). Depending on the selection the user makes in the
left menu, the third frame changes the pages (jsp). Now, my
application has a security system which is controlled by the left menu
bar which does not change until the entire page is reloaded (not just
the main frame). And if a user actually goes into his profile settings
and makes changes to his profile (ie, changes his security levels), I
need that to reflect in the left menu bar. The only way I can get this
done is if I reload the entire page (all the three frames). But if I
do a submit in the mainframe, it just loads the new page in the
mainframe and not in the entire window.
Ugh! Frames. That alone suggests you should consider reworking your
front-end. Granted, there are legitimate reasons for frames, but
creating a security buffer by loading both secure and insecure windows
in peer frames is not one of them.

To your question:

top.location.reload();

-David

Aug 20 '07 #2

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

Similar topics

1
1798
by: buzz | last post by:
How can I refresh one webpage from another? Many Thanks in Advance
3
23522
by: Troy | last post by:
Hello- I have a website that uses a custom built webserver to serve the pages. (Please don't ask me why my boss had his own web server written). I am displaying a log of information that is an...
1
1426
by: Jack Nation | last post by:
I have one webpage with a javascript game that will not respond with a context menu when I right-click my mouse on it. However, when I open View and select "Refresh", the page will refresh. All...
5
2501
by: lucanos | last post by:
Hey Guys, Hoping that you can help me, as I have been scratching my head and getting nothing but dandruff... SITUATION --------- I have a webpage which users will be viewing, which has forms...
2
2263
by: Kevin Chandler | last post by:
I appologize in advance if this is a novice question. I don't have much ASP.Net experience. I have an NCAA tournment selection page that I use asp:button controls. The problem is that...
3
10005
by: Sameer | last post by:
I have a webpage that has a link button. This link button on click opens up a new page. This is what is happening: 1. Load the web page. 2. Click on the link. 3. Refresh the web-page. Result:...
2
9896
by: Bruno | last post by:
Hi ... I have a webpage popup (lets call it POPUP) which refreshes the opener window (this one we call PARENT) when we close it, saying we want to save data. For this, we use ...
1
2069
by: rockdale | last post by:
Hi, all I am coding a asp.net application as user data entry and report interface. We also have another C#.net appplication (a server) does some other stuff, my webserver can send and receive...
3
2169
by: Jay | last post by:
Hello all, Is it possible to mimic the Ctrl. + Refresh functionality with a button in a webpage using javascript, ideally by placing a button(or link) on a page that when clicked would have the...
3
3568
by: lezzo | last post by:
Hi Guys, I am new to this forum and find very interesting. I need your help in one of the script. I got a MySQL table bid_amount, and i want that if some new data comes in this table and...
0
7192
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7261
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,...
0
7315
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
6974
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
7445
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...
0
5559
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
4991
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...
1
721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
369
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.