CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 PHP sessions - HELP NEEDED

Print topic Send  topic

Author Message
frans
Posted: 07/23/2003, 11:32 AM

Hello,

I have a problem with Sessions in my app. I want to set and receive sessions for my pages. The goal of my app. is that multiple clubs can have their own website. At this moment i transfer the club_id to each of my pages. There is only one great disadvantage, i have to set all my links to GET and POST. So then you get URLS like these. http://www.windsurfnet.nl/_pzv/(ALL_SORT_ORDER_CLICK)_(...D_FORM_DATA)etc....

The following i have set in my page.


if (CCGetParam("club_id", "") != CCGetSession("windsurfneClubID", ""))
{
CCSetSession("windsurfneClubID", CCGetParam("club_id", ""));
}

Then in my clublocator page i set the linktype to session like this:

Source type = Session and Parameter source to windsurfneClubID and parameter name to club_id

So that should set the session, but that doesn't work.

Help is thus needed,

Regards,
Frans
Ben
Posted: 07/23/2003, 1:18 PM

I think:

That parameter name is the name of the session name, which is "windsurfneClubID", because the source type is "session".

And the parameter source is the name of the field to be compared which seems also "windsurfneClubID".

Hope this helps

Ben

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.