Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi page forms using session variables

Status
Not open for further replies.

ice7899

Programmer
Joined
May 14, 2006
Messages
59
Location
GB
Hello

I woul dlike to create a multi page form which uses session variables.

If there were say 4 pages, each page would have a 1 2 3 4
set of links at the top and no data is lost if you click back

Are there any tutorials out there that can help

How would you structure this ? Would you structure this?
 
Dont use session variables unless you really must...they are heavy on serverside.
Use URL paramapters and/or hiddend form fields
All the best!

:--------------------------------------:
fugitive.gif

[URL unfurl="true"]http://mostarnet.com[/url]

All around in my home town,
They tryin' to track me down...
 
Hi lebisol, I am somewhat of a newbie and was wondering if you could slightly expand your answer to give me a head-start on the technique for easily creating a sequence of pages?

I would like to take long articles 4-10 pages in length, and quickly break them up into separate pages, and have the navigation |1|2|3| <previous | Next > | etc. appear at the bottom of each page.

What URL parameters and hidden form field are you talking about using to create this?

MANY thanks!

-The Craw
 
Session variables are the way to go, but before any more help can be given, you need to tell us what server-side language you are using at it varies.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Hi,

Thanks for the response!
We are using Perl and Mason.

Running Apache server (not sure which release).

I'm using DreamWeaver to author HTML. My documents are typically small user guides with a screenshot or two per page.

I'd like to automate the process as much as possible.

Any help is highly appreciated!
 
I would like to take long articles 4-10 pages in length, and quickly break them up into separate pages, and have the navigation |1|2|3| <previous | Next > | etc. appear at the bottom of each page.
You do not need session variables for this at all. You need to breakup the article into static pages and build the navigation for each article.

Or are there 'forms' on each page that are capturing input data?

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
O.k. As Session Variables are handled by th Server-Side language in use, this is now in the realm of Perl, and not of DW. As DW is just a development tool that can support many languages.

This is the Perl forum: forum219
The experts there can guide you step by step.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thanks.

Traingamer....your suggestion is the method I am using now, and I find it quite time-consuming to take a long page, manually break it into pices, and manually add all the navigation to the bottoms of the pages.

This is why I am seeking some method of semi-automating it. This will be especially true when I have articles that even longer, in the 30-40 page length...

Vacunita, thanks...I'll take a look at the Perl forum, though I am not a coder, so I may get in over my head...

Thasnks all for the info!

-Craw
 
... I find it quite time-consuming to take a long page, manually break it into pices, and manually add all the navigation to the bottoms of the pages.

Then, by all means, automate those functions. I would use perl or even visual basic to automate the 'break-up' and 'generation of navigation', but I would still end up with a number of static pages for each document (which would not require any session variables or server-side processing of any sort).

You are, of course, free to value this advice as you wish.


Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top