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

Thread Solved

Join Date: Jun 2008
Posts: 21
Reputation: gargg321 is an unknown quantity at this point 
Solved Threads: 0
gargg321 gargg321 is offline Offline
Newbie Poster

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

 
0
  #1
Jul 22nd, 2008
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
Commitment is what transforms a promise into reality. It is the words that speak boldly of your intentions. And the actions which speak louder than the words. It is making the time when there is none. Commitment is the stuff character is made of; the power to change the face of things. It is the daily triumph of integrity over skepticism.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 183
Reputation: lydia21 is an unknown quantity at this point 
Solved Threads: 5
lydia21 lydia21 is offline Offline
Junior Poster

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

 
0
  #2
Jul 22nd, 2008
why acnu use sessions
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 15
Reputation: odysseous is an unknown quantity at this point 
Solved Threads: 1
odysseous odysseous is offline Offline
Newbie Poster

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

 
0
  #3
Jul 22nd, 2008
by adding ?hiddenname=hiddenvalue[&hiddenname2=hiddenvalue2] end of url address
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 1,073
Reputation: Shanti Chepuru is on a distinguished road 
Solved Threads: 98
Shanti Chepuru's Avatar
Shanti Chepuru Shanti Chepuru is offline Offline
Veteran Poster

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

 
0
  #4
Jul 22nd, 2008
By adding this:
  1. <input type="hidden" name="hiddenname">


use this where ever you want to send by hidden....
Be intelligent, But Don't try to cheat.. Be innocent But Don't get cheated..
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC