DDavenport at newagedigital.com
Sun Mar 26 10:45:33 EST 2006
> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org
> [mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of Tom
> Sent: 2006 March 26 -- Sunday 4:06 AM
> To: interchange-users at icdevgroup.org
> Subject: RE: [ic] Login?
> Well it seems when I call the logout page it dont clear the
> cookies, do I have to put something in the logout page to clear it?
In the foundation catalog, logout.html itself doesn't do much. it's
just a place for the "you have logged out" message to show.
You might try adding
[tmp hide_me][userdb function=logout
at the top of the page, before any other settings (so any components,
page titles, etc don't show as if you're logged in). If the user's not
logged in, the call will just fail. Just realize that in some places,
you'll be logging out twice.
Something quite similar to this appears at the top of logout.html in all
my "standard"-based (IC 5.3) catalogs. I forget whether i modified the
base catalog, or it's been there all along. :)
New Age Digital
> At 09:33 PM 3/25/2006, you wrote:
> >> -----Original Message-----
> >> From: interchange-users-bounces at icdevgroup.org
> >> [mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of Tom
> >> Sent: 2006 March 25 -- Saturday 1:53 PM
> >> To: interchange-users at icdevgroup.org
> >> Subject: [ic] Login?
> >> Im trying to do mouseover functions in my store, But its not
> >> worrking Right, Am I doing something Wrong?
> >> [if session logged_in]
> >> <td><a href="[area logout]"
> >> onmouseout="turn_off('menu_b2b')"
> >> onmouseover="turn_over('menu_b2b')"><img name="menu_b2b"
> >> src="/foundation/images/menu_b2b.gif" alt="Log Out"
> >> width="71" height="25" border="0"></a></td>
> >> [else]
> >> <td><a href="[area login]"
> >> onmouseout="turn_off('menu_b2')"
> >> onmouseover="turn_over('menu_b2')"><img name="menu_b2"
> >> src="/foundation/images/menu_b2.gif" alt="Log In" width="58"
> >> height="25" border="0"></a></td> [/else]
> >> [/if]
> >Sometimes, [if session logged_in] doesn't like to work for me. In
> >fact, it hardly ever works for some reason. So, i tend to use [if
> >session username] instead. There should only be a username in the
> >session if the user managed to log in, right? :)
> >Daniel Davenport
> >New Age Digital
> >interchange-users mailing list
> >interchange-users at icdevgroup.org
> interchange-users mailing list
> interchange-users at icdevgroup.org
More information about the interchange-users