Skip to main content
April 5, 2010
Question

sync DW login SB with Cartweaver login

  • April 5, 2010
  • 1 reply
  • 715 views

Hello,

I currently have a CMS that I've devloped using the DW server behaviors. I want to setup a cartweaver online store for the site. What I want to do is sync the login of the DW server behavior to the cartweaver login so that if the visitor logs in from the DW login page then the login session will transfer over to the cartweaver login and vise-versa.

I am using php and I'm thinking that I can set this up using session variables somehow so that if the session is set for the DW login then it will process the session variable info to the login page for the cartweaver login and vise-versa if the cartweaver login session variable is set then it will process the variables to the DW login page. I just need a little guidance to get it all setup cause right now if someone logs in through the DW login page then they have to login again to access their cartweaver account info. I want to sync the login of the DW login and the cartweaver login. I'm hoping someone has done this before and can point me in the right direction to get this setup. I've looked on the Cartweaver newsgroup but I haven't found any information about the subject. I know that cartweaver adds its own DB tables when you install cartweaver on the site. So I'm thinking of moving the table for the DW signup and login to the same table used for the cartweaver signup and login table. Thanks for any info or insight that you can provide on this.

This topic has been closed for replies.

1 reply

pziecina
Legend
April 6, 2010

Hi

First, I have never used cartweaver, but as most of these 'plug-ins' are coded the same way -

Use the cartweaver landing page, (after log-in) to navigate to your cms system and not a separate page. If you include links to your cms system on the landing page, and the cartweaver restrict access to page code to control who can access the various pages, it should work as though it was all part of the same cms system.

PZ

www.pziecina.com

April 6, 2010

Thanks for the reply. Unfortunately it's not the "solution" I was looking for. I am not looking for a way to simply hyperlink the store to the rest of the site after login. Like I said in my original post I want to sync my logins of the cartweaver and DW server behaviors.

For instance, right now when I login on one of the DW login pages everything is fine, then when I go to checkout of the cartweaver cart it asks me to login once again because different session variables are set for the cartweaver login vs the DW login. I want to find a way to have it where if you login to the DW page then the session variables are entered into the cartweaver login so when I go to checkout the system already knows that I have already logged in through the DW login page so an additional login to the cartweaver system is not required. Hopefully that makes sense.

To clarify: I do not want to simply apply a hyperlink on my cart page to the rest of my site, I want to sync the session variables. I am hoping to hear from someone that has done this before and has a link to information on how to accomplish this task, not someone that simply says "I've never done this before but link your cart page to the rest of your site"

Thanks anyway.

pziecina
Legend
April 6, 2010

Hi

I have done this type of thing before, just not with cartweaver.

Bye

PZ