Forums
This topic is locked
Session variable help
16 Sep 2005 15:26:46 Wim Conix posted:
Hello,I have a site with a main startpage and for each registered user a startpage in his own subdomain.
I've made a menu with a "Home" button, but this always points to the main site's startpage.
So I decided to remove the "Home" button from the (javascript based) menu, and to create an interactive "Home" button instead.
In the subdomain's startpage there's a recordset with all fields for that particular user. There's a field "subdomain_url" which value is the subdomain's startpage (I made www a user/subdomain as well).
I want to store this as a session variable, because all resultpages,... are in the main site and no longer in the subdomain. I want to use this session variable as the <a href="session variable"> for the selfmade home-button (from the subdomain's startpage on).
I tried several things, but can't get it work properly.
Can someone please help/guide me through the process of creating and calling this session variable ?
Or has someone other suggestions to make my home button subdomain dependant ?
You can view main site at www.image-belle.com and a subdomain at wimconix.image-belle.com
I can also send the code if necessary.
Using Dreamweaver MX - VBscript
Thanks very much,
Wim