CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 PHP Redirect Blues :-(

Print topic Send  topic

Author Message
montymoose


Posts: 85
Posted: 11/05/2004, 3:22 AM

Hello,

Just wondering whether anyone can help me with a quick problem. I have a normal CodeCharge login system redirecting to another page when the login is successful.

Nothing strange there….

However I want the return page to appear in a different frame, not the frame that the login box is in.

The code for the redirect is:

----------------------

$Redirect = "sec338_index.php";
if($this->Validate()) {
if($this->PressedButton == "Button_DoLogin") {
if(!CCGetEvent($this->Button_DoLogin->CCSEvents, "OnClick")) {
$Redirect = "";

---------------------

Is there any way that I can add the ‘Target = _parent’ tag or something like that to redirect to a frame?

Any thoughts?

Cheers

John.
View profile  Send private message
greg
Posted: 11/05/2004, 8:33 AM

You can't do it directly. I'd advise you create a html page with a
javascript to change the content of the other, based, for example, on a
parameter.

Greg


montymoose wrote:
> Hello,
>
> Just wondering whether anyone can help me with a quick problem. I have a normal
> CodeCharge login system redirecting to another page when the login is
> successful.
>
> Nothing strange there….
>
> However I want the return page to appear in a different frame, not the frame
> that the login box is in.
>
> The code for the redirect is:
>
> ----------------------
>
> $Redirect = "sec338_index.php";
> if($this->Validate()) {
> if($this->PressedButton == "Button_DoLogin") {
> if(!CCGetEvent($this->Button_DoLogin->CCSEvents, "OnClick")) {
> $Redirect = "";
>
> ---------------------
>
> Is there any way that I can add the ‘Target = _parent’ tag or something like
> that to redirect to a frame?
>
> Any thoughts?
>
> Cheers
>
> John.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.