473,543 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1445
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
8722
by: Phil Powell | last post by:
class DownloadGenerator { var $fullFilePath; function DownloadGenerator($fullFilePath) { $this->fullFilePath = $fullFilePath; } function &generateForceDownloadHeaders($fullFilePath = '') { // STATIC VOID METHOD
1
1267
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 = "text/javascript"> <!-- hide from older browsers if (top.location != self.location) { top.location = self.location; }
52
5396
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. Happy New Year -- Gerry
4
2399
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 the domain. However, if I go to http://www.bookgroup.org.uk and click on one of the
0
1101
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 it needed frame, so I made a page called index.aspx that contained the frameset that initially displayed the original home page, home.aspx, in one...
13
2681
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, and also from a file conatining the commands 2- does the redirection of the input and output from and to files. 3- retrieve the environment variables...
1
3515
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, @filesize("$userPath/xml/redirect.xml")); @fclose($fileID); // XML PARSE
33
2621
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 redirection to http://new.com which does not update the client browser's address bar Q2 ... or is this one of the main benefits of the IIS URL rewriter ??
13
1442
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 search engines can only read the body content on the body.html So... I want to write something for these body.htmls so that if the person...
0
7402
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7347
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7733
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5883
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4890
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3388
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3391
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1814
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
633
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.