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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using asp to open a page in a different frame with Response.redirect.

Status
Not open for further replies.

Krom

Technical User
Apr 30, 2002
3
AU
Hi,
Just having a little trouble here with my password login. The login and everything works fine, but im using a framed page, and if this frame with the login determines that the login is successful i want to open a page in a different frame, im not quite sure how to do it tho, any help would be much appreciated:

Here is the line i'm working with.

set rstemp=Conn.execute(SQLTemp)
If NOT rstemp.eof then

session("log_in") = "True"
Response.redirect (" & rstemp.Fields("clientpage").value & "target="mainFrame"")


I've put in the target frame, obviously that wont work, but im not quite sure how to go about it. Thanks for any help.
 
Ahh Never mind i found a solution.

If anyone's interested i just put the target in the form instead, so when you submit it loads the password check in a different frame, this seems to work well..

If anyhow has a solution to what i posted in the script as well, i am still interested, thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top