I have a simple 2 page frameset that I am trying to protect using asp. I've
included the following code listed below at the top of each page including
the frameset page in an attempt to protect each page from unauthorized
access. When I open any of the pages in the frameset individually, I am
presented with the proper login page as expected, however if I open them
thru the frameset page, redirection to my login page does not occur. Any
help on this matter is greatly appreciated.
<%Response.Buff er=TRUE%>
<%IF session("okeydo key") = FALSE THEN Response.Redire ct
"../slog/login.asp"%>
--
Best Regards,
Martin Franklin Ma***@AssetRese arch.Com
Asset Research Services, Inc.
PO Box 7562
Chandler, Arizona 85246
Phone (800) 783-9636 or (480) 940-4290
Extension 213
Fax (888) 496-5736 or (480) 496-5735
Web: WWW.AssetResearch.Com 5 1644
ASP doesn't know what a frameset is. You will need to use client-side
script to communicate between the individual frames in your frameset. (Or,
don't use a frameset. If you look around the web, you'll see that most of
us have managed to move away from them entirely.)
-- http://www.aspfaq.com/
(Reverse address to reply.)
"Martin Franklin" <Ma***@assetres earch.com> wrote in message
news:#l******** ******@TK2MSFTN GP14.phx.gbl... I have a simple 2 page frameset that I am trying to protect using asp.
I've included the following code listed below at the top of each page including the frameset page in an attempt to protect each page from unauthorized access. When I open any of the pages in the frameset individually, I am presented with the proper login page as expected, however if I open them thru the frameset page, redirection to my login page does not occur. Any help on this matter is greatly appreciated.
<%Response.Buff er=TRUE%> <%IF session("okeydo key") = FALSE THEN Response.Redire ct "../slog/login.asp"%>
-- Best Regards,
Martin Franklin Ma***@AssetRese arch.Com
Asset Research Services, Inc. PO Box 7562 Chandler, Arizona 85246
Phone (800) 783-9636 or (480) 940-4290 Extension 213
Fax (888) 496-5736 or (480) 496-5735
Web: WWW.AssetResearch.Com
Gazing into my crystal ball I observed "Martin Franklin"
<Ma***@assetres earch.com> writing in
news:#l******** ******@TK2MSFTN GP14.phx.gbl: I have a simple 2 page frameset that I am trying to protect using asp. I've included the following code listed below at the top of each page including the frameset page in an attempt to protect each page from unauthorized access. When I open any of the pages in the frameset individually, I am presented with the proper login page as expected, however if I open them thru the frameset page, redirection to my login page does not occur. Any help on this matter is greatly appreciated.
<%Response.Buf fer=TRUE%> <%IF session("okeydo key") = FALSE THEN Response.Redire ct "../slog/login.asp"%>
One of the many problems with Evil Frames
<http://www.apptools.co m/rants/framesevil.php> .
Do you have a URL? I might be able to come up with some solutions.
--
Adrienne Boswell http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Usually, there is no problem with framesets and redirection. Maybe something
with the coding of your frameset or with the ASP code.
S. L.
"Martin Franklin" <Ma***@assetres earch.com> wrote in message
news:%2******** **********@TK2M SFTNGP14.phx.gb l... I have a simple 2 page frameset that I am trying to protect using asp. I've included the following code listed below at the top of each page including the frameset page in an attempt to protect each page from unauthorized access. When I open any of the pages in the frameset individually, I am presented with the proper login page as expected, however if I open them thru the frameset page, redirection to my login page does not occur. Any help on this matter is greatly appreciated.
<%Response.Buff er=TRUE%> <%IF session("okeydo key") = FALSE THEN Response.Redire ct "../slog/login.asp"%>
-- Best Regards,
Martin Franklin Ma***@AssetRese arch.Com
Asset Research Services, Inc. PO Box 7562 Chandler, Arizona 85246
Phone (800) 783-9636 or (480) 940-4290 Extension 213
Fax (888) 496-5736 or (480) 496-5735
Web: WWW.AssetResearch.Com
"Adrienne" <ar********@sbc global.net> wrote in message
news:Xn******** *************** ****@207.115.63 .158...
One of the many problems with Evil Frames <http://www.apptools.co m/rants/framesevil.php> .
Do you have a URL? I might be able to come up with some solutions.
That's what I like to see...
Not content with pointing out problem, but offering solutions too. :)
For my part, I'd say to the OP that it will take a bit of effort and
learning to figure out how to use CSS to control layout, but equally it will
take effort and learning to figure out how to bully the frames-based
application to work as intended. So it might be worth biting the bullet, and
'upgrading' now.
One of my sites is simple but a good example of how this can be done: www.aif-advocacy.org.uk.
The page uses CSS-P to control layout, and has the left & top menus in
separate pages. It's not my favourite looking site, but it is well
developed, efficient & easy to maintain.
For help on CSS Layouts, you can obviously use google, or try: www.glish.com http://www.thenoodleincident.com/tut...son/boxes.html http://nemesis1.f2o.org/templates
Chris
Gazing into my crystal ball I observed "CJM"
<cj*******@news groups.nospam> writing in
news:ue******** ******@TK2MSFTN GP15.phx.gbl: For my part, I'd say to the OP that it will take a bit of effort and learning to figure out how to use CSS to control layout, but equally it will take effort and learning to figure out how to bully the frames-based application to work as intended. So it might be worth biting the bullet, and 'upgrading' now.
Amazingly, I don't think I could write a good page without CSS now. I
can't wait for CSS-3 to really take off, newspaper like columns, and
other goodies.
Of course, the CSS is only as good as the markup. Use the right tool for
the job, a heading? Use a heading element. An address? Use the address
element. Want to emphasize a word, use the Em element.
--
Adrienne Boswell http://www.cavalcade-of-coding.info
Please respond to the group so others can share This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: CMAR |
last post by:
I have been trying to validate a frameset document with either the HTML 4.01
or XHTML Transitional DOCTYPE.
But I am finding that various <frameset> attributes ( framespacing="0",
border="0", frameborder="0") are not valid, presumably because they are IE
proprietary.
Is there a valid way to do these, particulary to get no borders, or does
one just ignore the validation, since IE is so predominant?
|
by: x |
last post by:
Greetings everyone:
I am trying to get CSS to work with a framed web page, but I cannot.
Does anyone know the syntax required in a CSS specification
to specify attributes of the frames?
Ideally, I want to be able to change the border thickness, colour, etc.
Additionally, does anyone know of some comprehensive examples/tutorial
|
by: David Shorthouse |
last post by:
Hey folks,
I have my entire ASP-driven site in a one-frame frameset to preserve a
static URL in a browser's address bar. I also have a customized 404 page to
redirect a visitor to the top, default frameset. The redirect works, but the
called, nonexistent URL remains in the browser's address bar. Is there any
way to refresh a browser's address in the address bar to that of the site's
default, frameset address? I tried using a...
|
by: terry |
last post by:
Hi,
Question:
When using Framesets and Server.Transfer in the
Application_Error event handler is there a mechanism to
get the error page to display in the total view of the
browser not just in the offending frame?
Overview:
I have an application in which I am using framesets. When
an Unhandled exception occurs I try to handle it
|
by: Pete |
last post by:
Hello- I am have a real trying time finding information on this subject. I
would like to create a web page that utilizes framesets (top & bottom) and a
navigation control I created from a datalist that gets data from a sql
datasource (sort of like a tabstrip). I'm getting pretty comforatable on the
asp.net side of things, but I'm lacking in the javascript department. I
understand that I need to add javascript to make the frames work...
| |
by: JAW |
last post by:
I have a frameset that contains frames (top and bottom). In the bottopm frame I have a datagrid, with a command button
on the first column of the grid. When I click on the button for the appropiate row of data, I retreive information from
the row of the datagrid and place this information into session variables for the other frame to retrieve. No problem so
far. What I want to do is then trigger a update (repost ?) of the data in frame 'B',...
|
by: lashnjo |
last post by:
hello, is it possible to click on one frameset, (ex. an image) and then
for it to load a new frame in two different framesets and a new one in
itself
|
by: Mark Rae |
last post by:
Hi,
Firstly, I have not the slightest intention of using framesets - the reason
for this post is merely to ask for assistance in furthering my understanding
of XHTML.
I was under the impression that XHTML fully supports framesets, hence the
Frameset document type. Therefore, can anyone please tell me why the
following markup doesn't validate correctly in VS.NET 2005?
|
by: geekifyer |
last post by:
So I was wondering, what possible replacements are there for the frameset? Because I just want to have my menu and article column be static and not have to be reloaded again, all I really want to be changed is the main content in the page. I understand framesets are, and have been looked down upon for quite some time; quite litterally I don't like them myself. Is it possible to make a div with the contents of that div being a DHTML file?
I...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |