Zen Cart Logo
Forums / Upgrading to 1.5.x / What's 'set_session_login' ?

What's 'set_session_login' ?

Locked

Views: 933

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
06 Sep 2011, 15:38
#1
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

What's 'set_session_login' ?

I'm running the 8/22 Beta with minimal customizations at this point ...

I noticed that there are links generated via zen_back_link() that include "&set_session_login=true" in the URL, what's up with that?

I don't yet have a scenario pinned down to recreate this at will, but I've seen it a couple of times.

06 Sep 2011, 18:38
#2
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Re: What's 'set_session_login' ?

This variable is an artifact, left over from versions as early as 1.2.0. It's not connected to anything and is completely harmless. It will be removed in a future release, nothing to be concerned about.

06 Sep 2011, 19:06
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: What's 'set_session_login' ?

As blindside says, it's been there since v1.2.0
But it probably will not be removed, as it does serve a purpose, albeit isolated: it only fires in the case of using customer-authorization restrictions.
It will likely be revamped in v2.0 with a more sophisticated and less GET-unfriendly approach.

06 Sep 2011, 19:58
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: What's 'set_session_login' ?

DrByte:

it only fires in the case of using customer-authorization restrictions.

Ah, that's why I haven't seen it before: I'm putting together a new site that is "Customer Shop Status: Must login to browse (1)" and that's where I'm seeing it.