Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [VishalT] How to? Include conditional content on Static page: Edit Log

Here is the list of edits for this post
Re: [VishalT] How to? Include conditional content on Static page
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
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

Last edited by:

el noe: Mar 8, 2021, 12:12 AM

Edit Log: