On a numerous occasions I have, on my site, a few pages sharing the same object that was loaded from the database.
For example, when user goes to ab article page, the page connects to the db and loads the article id, title, content etc.
Then from this page a user can vote for the article, but on the vote page I want to know the article name too.
Right now I am passing the article id by GET/POST and requering.
Question is, should I continue the way it is now or I should serilialize the object / send by GET/POST all the needed info?
What is the common thing to do in such case?