Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Login/Logout Issue

Quote Reply
Login/Logout Issue
When I login to LinksSQL 2.1.0 and I select the "home" link the now visible "Logout" becomes "Login" when I get to the "home" page. Although it asks you to login when you get to the home page you are ALREADY logged in and when you login from the home page it does inform you of such.

So the question is what causes this and how can it be corrected to avoid confusion?



Thanks!
Quote Reply
Re: [Teambldr] Login/Logout Issue In reply to
bump
Quote Reply
Re: [Teambldr] Login/Logout Issue In reply to
Hi



I nbelieve that the problem comes from using dynamic versus static pages..

When the user logs in they are running the dynamic face of your diurectory but when they click on home which is static page their ststus can not be tracked..

So using the static directory will require the user to log in each time they move from one page to the other..

While if you are using dynamic they will remain logged in all the time..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Login/Logout Issue In reply to
That actually makes sense because when I look at all the links in the nav menu all the ones that end in CGI I am showing the LOGOUT link and all of the others I am showing LOGIN.



Thanks, I will take a look at this.
Quote Reply
Re: [Teambldr] Login/Logout Issue In reply to
Are you using the default template set?


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Login/Logout Issue In reply to
Yes. Some MODS but it is based on the default.
Quote Reply
Re: [Teambldr] Login/Logout Issue In reply to
The yahoo template is slightly different, but the problem is really the same for all templates. A static page can only show what the tag returns at the time that page is built. (logged out).

So you will see logged out regardless of your login situation.

The yahoo from memory came as a login - logout... you see both.... whether this increases or decreases confusion I am not sure, but this is what I use.

(I know this is a bit of a repeat from my pm)... just thought I would post here too!


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Login/Logout Issue In reply to
Thanks Ian.



I have reviewed the forum looking for information on how to correct this issue but there seems to be no answers at the moment other than making it state "login/logout".

The catch is that you really are logged in but as you stated the static page reflects the build term rather than a true term based on the cookie.

So I think I may just use the option you suggested in the meanwhile.

Thanks again!
Quote Reply
Re: [Teambldr] Login/Logout Issue In reply to
Hi Brian,

I forgot to mention, login/logout require seperate links, in case you havn't already realised.

Login: yoursite.com/cgi-bin/user.cgi

Logout: yoursite.com/cgi-bin.user.cgi?logout=1

Wink


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Login/Logout Issue In reply to
Thanks Ian.

I will make the changes.
Quote Reply
Re: [Teambldr] Login/Logout Issue In reply to
Its not the best solution, but that is what I have presently on my site.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Login/Logout Issue In reply to
It is almost like the header/menu/search should be framed up and made dynamic and the home page itself static or something along those lines.

But in the meanwhile I will use your fix.

Thanks again!
Quote Reply
Re: [Teambldr] Login/Logout Issue In reply to
Frames... yeah, maybe... I prefer to avoid them if possible (just a personal thing)... but sometime they have there uses. Maybe this is one of them.Smile


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Teambldr] Login/Logout Issue In reply to
Does anybody know if there have been any developments regarding this issue since this thread, a year ago?

Muhammad
Quote Reply
Re: [Muhammad] Login/Logout Issue In reply to
I've done a rather clumsy fix... but it works for me.

in include_menu.html

<%if Username%>
<a class=nav href="<%db_cgi_url%>/page.cgi?g=&d=1">Home</a> &#149;
<%endif%>
<%ifnot Username%>
<a class=nav href="<%build_root_url%>">Home</a> &#149;
<%endif%>



Alba