Possibly, but I would want index.cfm to be targeted to _top rather than it
build a frame set within the current frame.

E.g.

In normal use the site has 2 frames a left hand side Menu and rest of screen
content area.

-------------------------------
|               |                       |
| Frame1        | Frame 2               |
|  Menu | Content Area  |
|               |                       |
-------------------------------

The page that is redirecting is in frame 2 and I want to redirect to a page
that would completely replace frames 1 and 2
e.g.
-------------------
|                       |
| Login Screen  |
|                       |
-------------------

Would that method allow me to do that?

Thanks
Richard




> -----Original Message-----
> From: stas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 18, 2000 2:50 PM
> To: [EMAIL PROTECTED]
> Subject: RE: CFLOCATION and targets
>
>
> It sound too simple, but can you not do a cflocation with an
> URL parameter
> to a page with a frameset where the target would be the frame
> you passed via
> the URL param?
>
> as in:
>
> <cfset mytarget = "_top">
> <cflocation url=index.cfm?target=mytarget>
>
> in the receiving page:
>
> <cfparam name = "url.target" default = "_main">
> <frameset ....>
>       .....
>       <frame source=blah.cfm target=#url.target#>
>       .....
> </frameset>
>
> -----Original Message-----
> From: Richard Darracott [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 17, 2000 10:35 PM
> To: [EMAIL PROTECTED]
> Subject: CFLOCATION and targets
>
>
> Hi,
> I'm trying to something very simple but that doesn't seems to
> be supported
> in the CFLOCATION tag.  What I need to do is to redirect the
> viewer to a
> page, but also be able to specify the target frame to load in.
> For example if the user has not interacted with the page for
> a specified
> amount of time I would like to redirect them back to the login page.
> However the authenticated site is framed so I need to
> redirect to target
> _top to wipe out the side menu frame as well as the currently
> focused frame.
>
> Does anyway know of a way of doing this? Or know of a custom
> tag?  The only
> way I have come up with is to redirect to a page that has a JavaScript
> redirect with the correct target information in it.
>
> Thanks (and hope I made sense)
>
> Richard Darracott
> Software Development Manager
> 7am.com Limited
>
>
>
>
>
> --------------------------------------------------------------
> --------------
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to