Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#26 04-02-2004 15:59:42

dregna
Member
Registered: 08-27-2003
Posts: 108
Website

Re: How Do I Trash The Cookies?

Whats a possible fact? Implement &usr where?


dregna

Offline

 

#27 04-02-2004 16:02:58

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: How Do I Trash The Cookies?

In your new layout file.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#28 04-02-2004 16:14:26

dregna
Member
Registered: 08-27-2003
Posts: 108
Website

Re: How Do I Trash The Cookies?

Yes everything is implemented correctly and it works as I have said in my previous post.  The problem is that when links are used that have a rewrite mod applied to them the log in status is voided.  So if you log in, the log in text switches to "log out" which is correct.  If I navigate through my site using links that have not had the rewrite_mod applied too the text remains displaying "log out".  If I click on a link which has had the rewrite mod applied to the log text switches back to "log in", which means that some imformation is not being passed correctly due to the re-write mod.


dregna

Offline

 

#29 04-02-2004 18:40:44

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: How Do I Trash The Cookies?

In this case, I will let Nick answer this question.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#30 04-09-2004 07:49:03

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: How Do I Trash The Cookies?

This would be for ATS to address.  The rewrite URLs would need to have the login info in them to retain the login information.  It's tracked in URLs only.


Nick Hendler

Offline

 

#31 02-27-2005 11:49:50

myqee
Member
From: London - UK
Registered: 11-11-2004
Posts: 55
Website

Re: How Do I Trash The Cookies?

I'm implementing this right now as it's a great little addition.

However I'm concerned about the issue mentioned regarding the 'rewrite mod'.

What is this mod and how does it affect this login/out mod exactly? Is the 'rewrite mod' anything to do with the ATS SEO mod as this is something I plan to purchase in the next few days?

If anyone is using this login/out mod how is it working out for you? ... any issues?

Thanks in advance  smile 


myqee
_____________________________________________________________



  <-- My CCP Shop!
_____________________________________________________________

Offline

 

#32 03-02-2005 17:52:41

myqee
Member
From: London - UK
Registered: 11-11-2004
Posts: 55
Website

Re: How Do I Trash The Cookies?

Since implementing this I've noticed that the login-logout status keeps changing when it should not. I imagine this could be to do with the 'rewrite mod' mentioned in earlier posts. Not sure, but anyway I've put in place a JavaScript method instead that seems to work even better. Anyone is welcome to use this but per usual use it at your own risk...

I can't take total credit for this as its simply modified script from another post which uses the same method for a 'welcome mr.x' message on your store splash.

Its simply detects a cookie presence and sets the menu to login or logout accordingly.

Code:

<script language="JavaScript"><!--var cookiecheck;
cookiecheck = escape('(CGIVAR)fd_tracking_firstname(/CGIVAR)','(CGIVAR)fd_tracking_lastname(/CGIVAR)');if ((cookiecheck == false) || (cookiecheck == null) || (cookiecheck == "")) {document.write("<A HREF='(CGIVAR)common_url_custacct(/CGIVAR)'>Login</A><BR><BR>");
}
else {
document.write("<A HREF='(CGIVAR)common_url_no_usr(/CGIVAR)&pg=ste_logout&usr=X'>Log Out</A><BR><BR>")
}
// --></script>

-- enjoy!   smile 


myqee
_____________________________________________________________



  <-- My CCP Shop!
_____________________________________________________________

Offline

 

#33 01-11-2006 14:33:50

celdirect
Member
From: UK
Registered: 04-01-2005
Posts: 782

Re: How Do I Trash The Cookies?

Hi,

anyone got this to work when you have the ATS SEO mod?


Cheers
Charlie

Mark - can you help with this please?  thanks

Offline

 

Board footer