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

Redirection and frames

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
3 1428
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

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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Phil Powell | last post by:
class DownloadGenerator { var $fullFilePath; function DownloadGenerator($fullFilePath) { $this->fullFilePath = $fullFilePath; } function &generateForceDownloadHeaders($fullFilePath = '')...
1
by: John | last post by:
I have several domains johntexas.com, jonstexas.com, etc. that I redirect to johnstexas.com. I got some code to pop me out of frames when this happens: <script language = javascript type =...
52
by: Gerard M Foley | last post by:
Can one write a webpage which is not displayed but which simply redirects the user to another page without any action by the user? Sorry if this is simple, but I am sometimes simple myself. ...
4
by: teddysnips | last post by:
My wife's bookgroup has a web site - http://www.bookgroup.org.uk which I maintain. The URL actually displays this page http://www.btinternet.com/~edandmill/home.htm thanks to UK2 who host...
0
by: headware | last post by:
I have a question about how best to implement a redirection to a framed version of a web site. Basically I have a web site that was originally implemented without frames. Then it was decided that...
13
by: souissipro | last post by:
Hi, I have written a C program that does some of the functionalities mentionned in my previous topic posted some days ago. This shell should: 1- execute input commands from standard input,...
1
by: comp.lang.php | last post by:
require_once("/users/ppowell/web/php_global_vars.php"); if ($_GET) { // INITIALIZE VARS $fileID = @fopen("$userPath/xml/redirect.xml", 'r'); $stuff = @fread($fileID,...
33
by: rvj | last post by:
if you redirect on an IIS , must the client url address bar always be updated with the new address. what options are? Q1 if a user requests http://old.com , is there a method of ASP...
13
by: trfilmographer | last post by:
hi fellow web developers! I have a bit of a concern. I developed a main page that is a page that contains 3 iframes - a header iframe, a body iframe, and a footer iframe. My concern is that if...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.