close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Clearing a session help

Thread began 11/18/2013 10:05 am by iainmacdonald331081 | Last modified 11/18/2013 3:26 pm by Jason Byrnes | 593 views | 5 replies |

iainmacdonald331081

Clearing a session help

Hopefully this is a straightforward one.

I have a page that lists some lodges here:

http://lodges.goodsafariguide.com/botswana/

If you click on any of them, a Session is started which stores the LodgeID, which is used for a Query on a Nominations table.

So if you click on African Horseback Safaris and scroll down, it lists two nominations:

2013 Best Riding Safari Operator
2011 Best Riding Safari Operator

So that's all fine.

But if you go back and click on another lodge, it will show those two Nominations again. But will update if you refresh the page.

I basically just have a clear session before a start session - see PM below.

Sign in to reply to this post

iainmacdonald331081

Code below..

Should it be possible for that to update without having to refresh the page?

Sign in to reply to this post

Jason ByrnesWebAssist

it depends on where in the code the session is cleared, try adding the clear session code at line 1.

Sign in to reply to this post

iainmacdonald331081

Thanks Jason. That was the one thing I already thought to try, but when I moved it to the top of the page it was starting the session, so no Nominations were being displayed.

I've attached the page for reference.

Sign in to reply to this post

iainmacdonald331081

Played around with practically every different way of ordering it, and seem to have it working with the code in the order below, just above the Nominations query.

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

Sign in to reply to this post

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...