awahl Posted October 25, 2011 Share Posted October 25, 2011 I'm working on a site that provides database results. To get to the final report, I'm going through a few pages where the user selects specific options. This builds up arrays that need to be passed from one page to another. As a result the final page has a pretty lengthy variable list. Since I want to provide a link to certain customers where they don't have to go through all the option select stuff, I'm using the GET method on the final page. Due to all the arrays I need to pass, I'm hitting hyperlink address character limitations, and I fear I will eventually hit browser URL length limits. Is there any way to provide links to customers without using the GET method so I could keep the URL length down? Link to comment https://forums.phpfreaks.com/topic/249782-linking-page-but-url-getting-too-long/ Share on other sites More sharing options...
requinix Posted October 25, 2011 Share Posted October 25, 2011 No, you're pretty much stuck with GET. Store the values in a database with a unique identifier (number or otherwise) and share a URL with that instead. Link to comment https://forums.phpfreaks.com/topic/249782-linking-page-but-url-getting-too-long/#findComment-1282142 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.