I think you should reconsider your whole approach for it gets really divided up.
Nevertheless I think it could work if you pass the session with your request.
I started to play with PHP and LinksSQL and as always Andy added some helpful comments but I lost track on this idea:
https://www.gossamer-threads.com/...%3F_P310458/#p310458
Now you have the Username and could include your URL based on the condition if it is there or you could try to pass the session
As I work cookie based I am not sure if you could use URL and Cookie parameters at the same time.
Without seeing what you try to do my guess would be that you should get the Information in PHP and display whatever you want directly in PHP without including an URL.
Hope that helps you getting a little further.
Regards
n||i||k||o
Nevertheless I think it could work if you pass the session with your request.
I started to play with PHP and LinksSQL and as always Andy added some helpful comments but I lost track on this idea:
https://www.gossamer-threads.com/...%3F_P310458/#p310458
Now you have the Username and could include your URL based on the condition if it is there or you could try to pass the session
Code:
$("#includedContent").load("https://domain.com/a/cgi/page.cgi?p=dynamic&s=$_COOKIE['s']");As I work cookie based I am not sure if you could use URL and Cookie parameters at the same time.
Without seeing what you try to do my guess would be that you should get the Information in PHP and display whatever you want directly in PHP without including an URL.
Hope that helps you getting a little further.
Regards
n||i||k||o