473,413 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Refreshing with frames.

Hi,

I'm trying to write a site to manage a scientific conference
(submitting paper, reviews, etc.) for a friend.

The application is almost finished but i have a little problem with its
page layout; The site is composed within a frame in which there are the
menu, the banner and the main page. Initially, you are an
unauthenticated user lurkin around; when you want to submit a paper you
have to authenticate using a login form. The tech used to auth the
users is JAAS that puts a Princiapal in session in order to indicate
the authenticated user.

It works but i have a little problem with the refresh of the pages in
the main frame. When the user authenticates only the subpage with the
login form is refreshed but the rest of the site (in the various
frames) is not! This is a problem beacuse I have to dinamycally reload
the menu in order to show the available option for the user. Currently
i cannot figure out how to do this simple refresh! Hitting an F5 is my
current workaround .

I think it must be a JS trick but i dont know js well enough.

Can anyone direct me trought the right and quickest solution ??

Thank in advance for every hints.

Bye,
Ugo.

May 3 '06 #1
1 1263
wrote on 03 mei 2006 in comp.lang.javascript:
It works but i have a little problem with the refresh of the pages in
the main frame. When the user authenticates only the subpage with the
login form is refreshed but the rest of the site (in the various
frames) is not!


You did not specify the serverside engine.

Under ASP you can [and should] set the result of authentication in a
session variable, and since all pages in your frames are under the same
session, their in-domain links have automagically access to that session
variable.

The concept of a clientside page being authenicated is strange to me.

==================

Framing are also problematical in many other ways,
so why start a new site with frames, btw?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
May 3 '06 #2

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

Similar topics

4
by: Jamie Jackson | last post by:
The crux of the problem is I only know if the popup *has been* opened, but not if it *is* open. Therefore, the script doesn't know whether to simply refocus, or whether to popup a fresh window. ...
4
by: sjoerd | last post by:
Hi, I have a web welcome-page consisting of three frames. On the left there is an index. The two others (above each other on the right of the screen) contain data related to the index-items. ...
3
by: John Ortt | last post by:
I appologise for reposting this but I have been trying to find a solution all week with no avail and I was hoping a repost might help somebody more knowledgable than myself to spot the message... ...
3
by: GraVity via DotNetMonster.com | last post by:
Hello all I am new to asp.net or web programming I have a requirement, I have to submit a document to another server using my webpage, there is a perticular protocol for doing that. This protocol...
1
by: jm | last post by:
I am sure this is simple, but I cannot find it. I have a frameset with two frames. The top frame is a form to be filled out. The bottom frame is the resultset. In the top frame when I hit...
2
by: Schraalhans Keukenmeester | last post by:
I have a page consisting of three frames. Top frame shows db rows, middle frame shows contents of a file, bottom frame has buttons to change file/row status and/or delete them. The desired...
1
nmm32
by: nmm32 | last post by:
I have this simple HTML page: <html> <head> <title></title> </head> <frameset cols="220,*" FRAMESPACING="0" BORDER="0" FRAMEBORDER="0"> <frame src="left.jsp" name="frame1"...
3
polymorphic
by: polymorphic | last post by:
I have succeeded in embedding PDF files in a dynamic iframe. The problem is that I need the PDF to cache. If the PDF remains the same from page load to page load then the pdf is somehow cached with...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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...
0
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
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: 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...

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.