premdg Posted February 8, 2007 Share Posted February 8, 2007 Hi, I have question on long URLs. In my application I need to pass parameters such as whatever.php?list=34,23,20,23.................. This list of numbers can be *very* large, and therefore PHP will complain saying URL is too long. A solution to this is to store this list in a SESSION variable. However, I want to allow users to share these links, i.e. that a user can just pass the URL to another person and he/she can still get the same. Using a SESSION variable will mean that I can not share. Is there a solution to this? Something so I can just pass an ID which is unique to the 'list' given, so given the much shorter ID I can then find out what the 'list' was? Thanks Prem Link to comment https://forums.phpfreaks.com/topic/37662-a-bypass-for-using-long-urls-required-for-sharing/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.