473,387 Members | 1,574 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,387 software developers and data experts.

Logging back in when in a frames site

I have a site that I have built. It uses a default.aspx page for the home
page and then to login, it will redirect to login.aspx. After the user has
successfully logged in, it redirects them to a page that uses frames (not my
choice). The frames page uses three frames(pages), one at the top for
navigation, one on the left for navigation, and then a main frame where all
other content is displayed.

My problem is that if the session times out, and the user clicks on the left
frame, which is very narrow, or the top frame, which is not very high, the
login page gets redisplayed in one of those frames which causes a problem
because the cannot see all of it.

Is there a way to force the login page to be displayed in the main frame
when the session times out no matter which frame they have clicked in and
then when they have successfully re-logged in, make sure whatever they were
trying to do happens?

Thanks in advance!
Nov 18 '05 #1
1 1270
the easiest solution is to not use security on the nav pages. otherwise, in
the login page, render a page that generates a form and client sricpt that
automatically postback to target to _top (replace the frameset with the
login).

-- bruce (sqlwork.com)

"David Hearn" <da*********@stagparkway.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I have a site that I have built. It uses a default.aspx page for the home
page and then to login, it will redirect to login.aspx. After the user has
successfully logged in, it redirects them to a page that uses frames (not my choice). The frames page uses three frames(pages), one at the top for
navigation, one on the left for navigation, and then a main frame where all other content is displayed.

My problem is that if the session times out, and the user clicks on the left frame, which is very narrow, or the top frame, which is not very high, the
login page gets redisplayed in one of those frames which causes a problem
because the cannot see all of it.

Is there a way to force the login page to be displayed in the main frame
when the session times out no matter which frame they have clicked in and
then when they have successfully re-logged in, make sure whatever they were trying to do happens?

Thanks in advance!

Nov 18 '05 #2

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

Similar topics

12
by: Javier | last post by:
Hello, I'm very new in this forum and as I have the following problem, the website is in http://new.vanara.com ----------------------------------------------------------------------------...
14
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
3
by: Jan Ebbe Jensen | last post by:
Hi I have tried the following code. It works in Mozilla. In IE I'm not able to enable DesignMode? What have I done wrong? It says that obj is undefined? Can anyone help me please.
95
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
1
by: Peter D. Dunlap | last post by:
Hello, I realize that this may not be the best place to ask this question, through the application is asp.net. I also realize that questions about disabling the back button are generally met...
26
by: gswork | last post by:
i hadn't designed a web page from the ground up for about 9 years, then i was asked to do one. I'd dabbled with html and vaigly kept up with some of the developments but other than that i've been...
5
by: IdleBrain | last post by:
I am trying to log the Application name, Method name, line number and column number whenever an exception is generated in an C# 2005 application using the following code. Problem is that the...
6
by: mcl | last post by:
I have a domain name which is set up for web forwarding with a frame. I have a link on one of the site's pages to an external site. When I select the link the external site is displayed correctly...
7
by: Flyzone | last post by:
Hello, I have a page defined like this: <html> <frameset> <frame src="./topone.pl"> <frameset> <frame src="./frame1.pl"> <frame src="./frame2.pl"> </frameset> </frameset>
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...

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.