Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transitione from frames to non frames- and sessions I think

Status
Not open for further replies.

pmsbony

IS-IT--Management
May 17, 2001
36
GB
We have a site linked to an SQL dbase, that uses sessions for logged in users.

The site was originally set up to use frames. I have been tasked with removing them.

The problem that I have is this. I have removed frames from the pages used pre-login. This includes the page set as the login page.

The login itself works fine and loads both the header and body frames of the first logged in page, this page loads as - temp_frames_switch.asp which does not exist as a page on the site and is, I presume, created to cope with the transition from no frames to frames. This in itself does not cause problems as the site works fine, however if a user logs out then they are returned to the logon page (default.asp) which is no frames, this loads okay, but if a user clicks the back button on the browser they are returned to the temp_frames_switch.asp page. This puts them in an area of the site they need to log on to access usually, although the session has been ended they are allowed to perform some basic read-only database browsing on the page without problems.

This is not a massive security problem, but needs to be solved. Originally the the address in the address bar on IE always had the page default.asp as the page loaded and on refresh the session ended and the user was logged out.

Has anyone any suggestion on where I should look as I am a bit of a newbie to all this sort of thing.
 
not sure I understand all of the problem. my site has frames set for me by the domain host which actually points to my webspace. I was advised to use java - parent.location.href="therealURL" - which removes their frame in IE5.5 by having a transitional page with the code and a target page without (they are otherwise very similar).
It appears to only go back as far as the the transitional page which skips to the target page immediately.

It does work but not in Netscape (4.6 anyway) so any ideas anyone? I use many links to page 2 as a stopgap.

pmsbony - this may not stop people going back two or three pages in one go but as an interim measure it is worth consideration (if only to reduce the number of backwards surfers) and maybe I or another contributor will have a Netscape solution soon. In fact fellow ceilidh dancer Steve may have the result but I will have to wait until I see him for chapter and verse.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top