CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Retain params on login redirect ... how ?

Print topic Send  topic

Author Message
Robert
Posted: 02/22/2002, 1:30 PM

Using the basic security model, if a person is not logged in and they attempt to access a page of a CC generated site they get redirected to the login page. During the redirect all parameters in the querystring are dropped. I'd like to retain those parameters as they will be used when the person gets into the application.

Does anyone know how to cause every page on a CC site to preserve the querystring params on redirect to the login page ?

Thank you !

-Robert
AudiTT @ MCI
Posted: 02/22/2002, 3:00 PM

Set them as sessions.

Session("AppQuery") = Request.ServerVariables("QUERY_STRING")
Session("AppScript") = Request.ServerVariables("SCRIPT_NAME")

You can use a before show event... or something to set them... It needs to be before the check id statement... I think.


   


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.