Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

sync DW login SB with Cartweaver login

Guest
Apr 05, 2010 Apr 05, 2010

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.

TOPICS
Server side applications
717
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 06, 2010 Apr 06, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 06, 2010 Apr 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 06, 2010 Apr 06, 2010

Hi

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

Bye

PZ

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 06, 2010 Apr 06, 2010

Hi iPHP,

Pretty simple thing to do actually. If you look at the code that sets the Customer log in Session variables for Cartweaver you'll see it's pretty standard stuff. What you could do is modify your log in page to not only log into your CMS, but on the same page at the same time, using copied Cartweaver code, use the passed variables to log into Cartweaver as well and set the Session variable that Cartweaver expects.  From a coding standpoint this is easy stuff. What you'll have to do to make this work however is to synch up the data in the Cartweaver customer table and the data in your CMS so the customer isn't required to create two accounts and log in twice. Depending on how complex your CMS is you may want to look at consolidating the log in over to just using the customer table in Cartweaver.

Hope this helps.

--   
LawrenceCramer   *Adobe Community Professional*
www.Cartweaver.com
Complete Shopping   Cart Application for Adobe Dreamweaver

Stay updated - Friend, Follow, and Bookmark!
http://twitter.com/LawrenceCramer
http://www.facebook.com/LawrenceCramer
http://blog.cartweaver.com

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 06, 2010 Apr 06, 2010
LATEST

Hello Lawerence and thanks for the suggestion! I will look into the solution that you've provided. As mentioned in my original post I plan on consolidating the DW login table over to the Cartweaver login table. I will let you know if I have any other questions.

Thanks again!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines