CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Redirect to Login Page

Print topic Send  topic

Author Message

Posts: 135
Posted: 01/15/2018, 11:23 AM Quote message

When a user clicks Submit on my page, the user is redirected to the login page if not logged in (probably do to a web server timeout). After logging in, the user is directed back to the page they started. But the values they entered onto that page are missing.

What can I do to keep those values so that after the user comes back to the entry page after logging in, they don't have to re-enter everything?
View profile  Send private message

Posts: 63
Posted: 01/16/2018, 10:23 PM Quote message

Not recommended - but adding the page parameters to the page query URL might work.

View profile  Send private message

Posts: 620
Posted: 01/17/2018, 4:22 PM Quote message

Session Variables?

In the form OnValidate event:

$textfieldvalue = $formname->textfield->GetValue();
CCSetSession("textfieldvalue", $textfieldvalue);

In the form BeforeShow event


After Insert, Update, On Submit or whatever clear it

CCSetSession("textfieldvalue", "");

Central Coast, NSW, Australia.

Use the EXETA Online Business Valuation Tool to
value your business.
View profile  Send private message
Posted: 01/18/2018, 11:34 AM Quote message

You should probably not have the user even see the page without proper
credentials. Sounds like your record form has the Restrictions as
opposed to the Page.

Add new topic Reply to topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

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

Home   |    Search   |    Members   |    Register   |    Login

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