I was wanting to set a session variable as a user clicks on a link, so that when the next page loads it will display the correct navigation for them. The problem being is that the header and navbar are generated from the application.cfm file. This creates the problem that the user arrives at the page from the link, the session is set but they have the old nav bar, as soon as they then browse to any new pages the navbar displays correctly.
So the question is can you set a session variable with javascript (onclick) and then redirect them and if so what would the code look like, or would I be better having a page that sets the session then redirects them to the correct page. Mark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232814 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

