954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to pass invisible data to other pages in a site without using forms

Hi,

I am developing a PHP module where I need to pass a particular data through different pages without notifying the user about it. The site I am building have forms on every page except 1. So what I was doing before was sending that data through forms in a hidden format. But now I am in a fix. The reason is that in the last page of the site there in no form but there are links to revisit the previous pages. So when a user click on those links that information vanishes. So how could I restore that value. I tried using sessions but failed miserably. I am new to PHP and have problems maintaining sessions. So please suggest me a method without the use of sessions and forms

Thanks in advance

Gaurav

gargg321
Newbie Poster
21 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

why acnu use sessions

lydia21
Junior Poster
183 posts since Nov 2007
Reputation Points: 19
Solved Threads: 5
 

by adding ?hiddenname=hiddenvalue[&hiddenname2=hiddenvalue2] end of url address

odysseous
Newbie Poster
16 posts since Oct 2007
Reputation Points: 10
Solved Threads: 1
 

By adding this:

<input type="hidden" name="hiddenname">

use this where ever you want to send by hidden....

Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You