> -----Original Message-----
> From: suppressed
> [mailto:suppressed On Behalf Of Tom
> Sent: 2006 March 26 -- Sunday 4:06 AM
> To: suppressed
> 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
clear-cookie="MV_PASSWORD"
clear="[if cgi
keep_values]0[else]1[/else][/if]"][/tmp]
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. :)
--
Daniel Davenport
New Age Digital
http://www.newagedigital.com
>
> At 09:33 PM 3/25/2006, you wrote:
> >
> >
> >> -----Original Message-----
> >> From: suppressed
> >> [mailto:suppressed On Behalf Of Tom
> >> Sent: 2006 March 25 -- Saturday 1:53 PM
> >> To: suppressed
> >> 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
> >http://www.newagedigital.com
> >
> >_______________________________________________
> >interchange-users mailing list
> >suppressed
> >http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> interchange-users mailing list
> suppressed
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
>
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.