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.Buffer=TRUE%>
<%IF session("okeydokey") = FALSE THEN Response.Redirect
"../slog/login.asp"%>
--
Best Regards,
Martin Franklin Ma***@AssetResearch.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 1631
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***@assetresearch.com> wrote in message
news:#l**************@TK2MSFTNGP14.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.Buffer=TRUE%> <%IF session("okeydokey") = FALSE THEN Response.Redirect "../slog/login.asp"%>
-- Best Regards,
Martin Franklin Ma***@AssetResearch.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***@assetresearch.com> writing in
news:#l**************@TK2MSFTNGP14.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.Buffer=TRUE%> <%IF session("okeydokey") = FALSE THEN Response.Redirect "../slog/login.asp"%>
One of the many problems with Evil Frames
<http://www.apptools.com/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***@assetresearch.com> wrote in message
news:%2******************@TK2MSFTNGP14.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.Buffer=TRUE%> <%IF session("okeydokey") = FALSE THEN Response.Redirect "../slog/login.asp"%>
-- Best Regards,
Martin Franklin Ma***@AssetResearch.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********@sbcglobal.net> wrote in message
news:Xn***************************@207.115.63.158. ..
One of the many problems with Evil Frames <http://www.apptools.com/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*******@newsgroups.nospam> writing in
news:ue**************@TK2MSFTNGP15.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",...
|
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?
...
|
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,...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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,...
|
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...
| |