I need to know what link is clicked, how do i get these variables with cherrypy?

Posted by user291071 on Stack Overflow See other posts from Stack Overflow or by user291071
Published on 2010-03-11T00:37:40Z Indexed on 2010/03/14 1:05 UTC
Read the original article Hit count: 318

Filed under:
|
|

Lets say I display 3 links, I want to accomplish 2 things, know which link is clicked, and record this choice in a list/pickle or txt file but also capture this variable in cherrypy so I can perform another action. How do I do this? Its been suggested that I use a query string which makes sense but I can't get the querystring variable to cherrypy to use for further actions. So would anyone have a simple code of cherrypy with lets say 2 pages and have one page display 2 links with a querystring in each and the second page able to get that value?

© Stack Overflow or respective owner

Related posts about python

Related posts about cherrypy