close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Question about Session variables

Thread began 5/09/2012 1:31 pm by iainmacdonald331081 | Last modified 5/10/2012 1:26 pm by iainmacdonald331081 | 2829 views | 8 replies

iainmacdonald331081

Thanks Jason. I think I had always used that going from a results page to a details page, which is set up to pull through the ID to display the details based on the recordset.

But in this case there is no recordset on the AddNomination page, so didn't realise you could use it as simply there too.

One last question on this - my form action is:

<form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">

And then the link to a NominationAdded page is in the php code at the top of the AddNomination page:

$ins_nominations->registerTrigger("END", "Trigger_Default_Redirect", 99, "NominationAdded.php");

What would be useful would be to pass the URL variable through again, so that on the NominationAdded page I can have a link back to the same Lodge to add another Nomination without finding the Lodge again.

But I'm not sure what the syntax would be, as it included some PHP within existing PHP, so not just:

$ins_nominations->registerTrigger("END", "Trigger_Default_Redirect", 99, "nominationAdded.php?LodgeID=echo($_GET['LodgeID'])");

I assume this must be possible, but not sure of the exact syntax?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...