Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 6th, 2006, 06:55 AM
Registered User
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default display without frames in asp

hi all,
I have a page which contains 2 frames, the frame on the right contains the actions for the menu clicked on the left frame.now i have logout in my left frame.I want to go back to the login page without frames. how do i do that..?
 
Old October 6th, 2006, 07:10 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Write a javascript back to the client:

Dim sJavaScript

sJavaScript = "<script language=javascript>"
sJavaScript = sJavaScript + "parent.location.href='logon.asp';"
sJavaScript = sJavaScript + "</scr" & "ipt>"
response.write(sJavaScript)

hth

--Stole this from a moderator

I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
asp.net frames and gridview ramuis78 ASP.NET 1.0 and 1.1 Basics 2 August 2nd, 2006 10:04 AM
menu-frames-display settings won't work web4all Javascript How-To 1 March 2nd, 2006 10:15 AM
Frames in ASP.NET knagendrak ASP.NET 1.x and 2.0 Application Design 7 September 24th, 2004 08:43 AM
I need help with Frames and Forms in ASP.NET leex Classic ASP Basics 1 August 19th, 2004 11:44 PM
Frames in ASP??? benskywalker Classic ASP Basics 8 September 29th, 2003 01:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.