CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Login issues with multi apps

Print topic Send  topic

Author Message
Waspman

Posts: 948
Posted: 04/27/2006, 2:24 AM

Got 2 apps created for the same company.

Both require login.

How do I stop one cancelling out the other?

Change the default security names (UserID, GroupID)?

Just asking before I try it.;-)



_________________
http://www.waspmedia.co.uk
View profile  Send private message
WKempees
Posted: 04/27/2006, 2:54 AM

http://forums.codecharge.com/posts.php?post_id=46928&s_...multi+login+app
might be useful

but: Peterr wrote in :
http://forums.codecharge.com/posts.php?post_id=51929&s_...ple+application+
Quote :
This is an issue related to using the same session variables in multiple
applications that are on the same server. This was resolved in CodeCharge
Studio by allowing developers to specify own names of session variables. I
don't remember the solution in CodeCharge, but possibly you may need to run
some search and replace program on all your generated scripts and replace
"UserID" with "AppnameUserID", and "UserRights" with "AppnameUserRights".

telling you what to do (use your own separated session vars) and how.

(Top of the forum in the menu, Search. Used : "multi login app" as terms)


"Waspman" <Waspman@forum.codecharge> schreef in bericht
news:644508dbed1983@news.codecharge.com...
> Got 2 apps created for the same company.
>
> Both require login.
>
> How do I stop one cancelling out the other?
>
> Change the default security names (UserID, GroupID)?
>
> Just asking before I try it.;-)
>
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

marcwolf


Posts: 361
Posted: 04/27/2006, 7:43 PM

Hi.
I think I know what is happening and the solution is very simple.

If you are using IIS go into the IIS manager and set each project to be in its OWN virtual directory.

That should fix the issue.

If you have just directories - each directory is running off the same server session block. However each virtual directory is an entity in its own right and thus its variables are isolated from other. This includes Application session variables.

If our projects need to share session variables then the above will break them. To fix - use a database system to storing 'global' inter-application variables.

hopes this helps

Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
View profile  Send private message

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.

Web Database

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.