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

Recommended Answers

All 3 Replies

why acnu use sessions

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

By adding this:

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.