Posted on 09/03/2009 11:46:55
np wrote:
karen wrote:
Hmmm seems like when I login I am logged off again as soon as I leave the protected pages.
Made a page which is extranet protected - contains the log in form.
Logs in and is correctly redirected - as if I am logged in.
At this point I can still access extranet information e.g. username using @Global:Extranet.UserName.....
Then I access the pages containing the product information which is not placed in the same area as the log in page.....now I can't access the extranet information. Just tried to write out the username again to see if it worked - nothing is written UserName is now empty??
Does the area with the products have another domain/hostname attached to it. If you change hostname you loose your login due to browser things.
Nope - all pages has same domain/hostname the structure is now:
Forside
About "company name"
Products
- product categories e.g. "Shoes"
......
- shop (hidden from navigation)
- login - just an empty page protected by extranet login accesible from a Toolbar menu - on all pages.
.......
"Product" pages right now just uses standard DW templates. If I in e.g. Productlist.html template replaces some of the standard information with <!--@Global:Extranet.UserName--> nothing happens. If I do exactly the same in the template used in the login page it writes out the UserName as I expect......