This topic is locked
[SOLVED]

 Use variables in two applications

2/11/2015 6:31:02 AM
PHPRunner General questions
P
Philip author

Let's assume I build two applications in PHPR.
I save a value in first application to a variable.

Example: $_SESSION["Fieldname"] = $data["Fieldname"]
I want to reuse the value in second application by accessing $_SESSION["Fieldname"].
This worked in PHPR 6.2. In version 8 the value is no longer passed.

Has the behaviour changed and / or can I achieve my goal in an other way?

Sergey Kornilov admin 2/11/2015

Yes, this behaviour was changed lately to protect multiple applications running on the same server.
See this post that explains how you can revert to "old" behaviour where session variables are shared between projects:

http://www.asprunner.com/forums/topic/22646-two-projects-single-login/

P
Philip author 2/11/2015

Thanks - that works fine!