By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,520 Members | 1,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,520 IT Pros & Developers. It's quick & easy.

Redirection and frames

P: n/a
Hi,

My website contains a login page and as soon as the user succesfully
logs in, he will be directed to the homepage that contains two frames
(with cols=20%,*). The left frame contains the list of products, which
are URLs with target as the right frame. Each page that loads in the
right frame is a PHP page does session validation. If the session is
timed out or the user types the URL of the page directly in the
address bar (without logging in), he'll be redirected to login page
with appropriate error message.

Problem is, when the session times out and the user clicks on any of
the links in the left frame, the login page loads into the *right
frame*, which is not what I want. What I really want is, a way to load
the login page as the "top level page" without any frames.

Thanks in advance for the help.
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Arun K varma <ar**************@gmail.com> wrote:
[frames]
Problem is, when the session times out and the user clicks on any of
the links in the left frame, the login page loads into the *right
frame*, which is not what I want. What I really want is, a way to load
the login page as the "top level page" without any frames.


A clientside problem, so use a clientside solution like clientside
scripting: http://tech.irt.org/articles/js126/index.htm

Jul 17 '05 #2

P: n/a

Daniel Tryba wrote:
A clientside problem, so use a clientside solution like clientside
scripting: http://tech.irt.org/articles/js126/index.htm


Tank you very much. It really saved my day

Jul 17 '05 #3

P: n/a

Daniel Tryba wrote:
A clientside problem, so use a clientside solution like clientside
scripting: http://tech.irt.org/articles/js126/index.htm


Thank you very much. It really saved my day

Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.