473,775 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help with sessions and frames

hi,

iam using frames in my website, there are 2 frames in site. when
sessions are expired the login page is displaying in the main frame,
but the other frame as it is in above. why the above frame is not
disappearing? is it means sessions are not expired in the above
frame?????
please help me that the login page has to be displayed in a new
page........... .

please help me,

thanking u in advance
Nov 15 '07 #1
1 1270
chowdary wrote:
hi,

iam using frames in my website, there are 2 frames in site. when
sessions are expired the login page is displaying in the main frame,
but the other frame as it is in above. why the above frame is not
disappearing? is it means sessions are not expired in the above
frame?????
please help me that the login page has to be displayed in a new
page........... .

please help me,

thanking u in advance
You can't control browser behavior in PHP, including frame
presence/absence. All you can do is generate html.

Try alt.html for starters.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Nov 15 '07 #2

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

Similar topics

1
1847
by: Rick Langschultz | last post by:
I am wondering if I can use sessions in a site that utilizes frames? There is a "header", "footer","navigation_page" and "main" frame, they are the names of the frames and they are a typical 4 frame display. The main page is called index.php and all of the named frames have matching file names with a ..php extension, running apache2triad1.1.9. I am trying to create a secure site for viewing a private user database management system for...
7
7538
by: John | last post by:
Hello. I want to get this blasted .htaccess file sorted out, so I can have sessions without register_globals being on. I have looked everywhere for info on this and I mean everywhere including the php.net manual. In the manual it said to include something like the following:
6
8550
by: BWGames | last post by:
Hey all, I have a website, which uses frames (I know, I know...). Left frame is a navbar, with the main content in the right frame. I can login using sessions on the right frame, giving "Thankyou, $name (where $session(name) = $name etc - not got code available atm, so thats not exactly right, but you get the gist...) I use <body onLoad parent.leftframe etc to reload the left frame, which
12
2526
by: Dave Smithz | last post by:
Hi there, Users of my PHP DB application have complained that it seems to log them out every now and then. I actually assume this is when it has been idle for sometime as I use session variables to store a logged in token. With only basic knowledge of sessions I assumed there was some kind of default time before the session data is destroyed. Is this the case?
1
1157
by: Christopher | last post by:
Hello, I currently use session variables to store some basic values on an intranet site internally. However, sometimes those session values do not come through and other time sthey do yet the application keeps running seemingly eventhough pages catch for session-ending. Our intranet site has 4 frames running all the time. When a user signs into the site on one main page (no frames) the session is populated. When the 4 frames load up, are the...
4
3362
by: news | last post by:
We have a huge PHP e-commerce site that relies totally on PHP sessions and cookies. We need to create a demo version of the site for potential clients to use that does NOT show the original URL in the browser, but we can't just simply copy the site and database over to to a new URL. My first thought was to set up a site at the new URL and then include the PHP site in a frame... but the PHP sessions prevent us from doing this.
10
1430
by: stathisgotsis | last post by:
Hello everyone, I am having a brain fart or something, why won't this work? test.php: <?php session_start(); $_SESSION='test'; header("Location: test2.php"); exit();
3
1308
by: chowdary | last post by:
hi, I am using frames in my website,main application links are present on the top of page above mainframe, in main window. These links have target=mainframe, thus opening respective pages in mainframe. I have put the session timeout period on each page so if some user remains inactive for 10 minutes, he will be redirected to logout.php page through header. Problem is that, the logout.php page will certainly be opening in mainframe,...
8
1841
by: Dave | last post by:
Hopefully this is an easy question for those with more experience. I have two separate programs that I want to use together on a website Program A starts first and calls session_start(). Program B is started by the user clicking on a link and it also calls session_start(). The session started by program B blows away the session started by program
0
9454
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10268
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9916
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7464
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6718
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5486
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4017
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
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.