View Single Post
  #4 (permalink)  
Old Oct 29th, 2006, 06:38
VanderBOOM VanderBOOM is offline
SuperMember

SuperMember
Join Date: Dec 2005
Location: Netherlands
Age: 46
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Re: Variable passing

Quote:
Originally Posted by ukgeoff View Post
Ok. Before we look at a solution, what information do you want to pass from page to page and why?

I ask you this in case the information could be sensitive in any way, in which case you would not want it appearing in the address bar of the browser.

You also need to think about the fact that if this information was of a sort that could be hard-coded into the links, ongoing maintainance could quickly become a real pain.
Hi ukgeoff, sorry for not responding earlier, be I've been quite buzy lately..

What I have is:

a number of pages with a kind of storyline within time:
let's name it storypage#1, storypage#2 ...... storypage#X

a number of pages with a kind of subjectline' with certain subjects:
let's name it subjectpage#1 .... subjectpage#X

Another section contains the real info:
let's name it infopage#1....infopage#x

The infopages can be entered from both the storypages and subjectpages.

What I would like to remember is when I enter an infopage from either the storyline pages or the subjectpages, is the storypage- or subjectpage number or variable, so that I can continue with my story or subject after reading the info.

To make it more complicated: Sometimes I need to view more infopages before returning to either the original storypage or original subjectpage, so I figure that {javascript: history.back} won't help me, unless I can count the number of histories between entering and leaving the infopages.


I hope I made myself clear, and I really appreciate your help.
Regards Hans
Reply With Quote