CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Change parameter to session (PHP)

Print topic Send  topic

Author Message
Tomasz
Posted: 10/15/2002, 4:59 AM

I have grid which display public records list, and second grid visible for logged in users. User click on list and next page opens with choosen record details. Problem is details page receives param through url (?id=1), and everybody can enter any id to read any record.

Is it possible to change param related to choosen record to session var to use it on details page as input parameter?
Where to put
set_session("id",get_param("id"));
to catch only clicked record id?

And, how to avoid opening details page with ?id=number then?
TonyE
Posted: 10/15/2002, 10:47 AM

Check article:

http://www.gotocode.com/disc_viewt.asp?mid=15837&
Tomasz
Posted: 10/15/2002, 11:22 AM

well, this is link to my question;-)))
TonyE
Posted: 10/15/2002, 11:51 AM

Sorry try this

http://www.gotocode.com/disc_viewt.asp?mid=15850&

   


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.