Home > Default > Persist Order for Anonymous User

Persist Order for Anonymous User

November 30Hits:0
Advertisement
If I set persistOrdersForAnonymousUsers=true in my shoppingcart. properties will it persist the order ? Or do I have do set additional property to set the anonymous profile to true as well ? Again how to use this behaviour along with the cookie ?

Answers

Yes, you need to persist the anonymous profile as well in order to persist anonymous orders.
Also set verifyBasicAuthentication=false in /atg/userprofiling/ProfileRequestServlet
Make sure that the following mandatory property has to be set as optional in ProfileAdapterRepositroy.
<table name="dps_user">
<property name="login" required="true" />
<property name="password" required="true" />
<property name="firstName" required="false" />
<property name="lastName" required="false" />
<property name="email" required="false" />
<property name="autoLogin" default="true" />
</table>
For using this behavior with cookies, you need to enable sendProfileCookies property (set as true) in /atg/userprofiling/CookieManager component. This will send a profile cookie, basically a profile id to the browser, you can set the expiry time also here. Next time when the user comes, ATG picks up this cookie and load the profile and basket accordingly. One point to note in this scenario is that the profile will never be transient, you need to add a logic to check the authentication status based on profile.securityStatus if required.
Cheers
R
Edited by: Rajeev_R on Apr 15, 2013 12:57 AM

Read other 4 answers

Tags:

Related Articles

  • Persist Order for Anonymous UserNovember 30

    If I set persistOrdersForAnonymousUsers=true in my shoppingcart. properties will it persist the order ? Or do I have do set additional property to set the anonymous profile to true as well ? Again how to use this behaviour along with the cookie ?Yes,

  • Persist Order in CSCNovember 30

    Hi All, Can we persist anonymous order in CSC?? Even tho i have changed the property persistOrdersForAnonymous=true in Shoppingcart component , i an unable to see the Order for anonymous users in CSC. Is there any other changes that need to be made t

  • Changing the auhtentication order 1)claims then 2)anonymousNovember 30

    We have a multi domain environment. After enabling Anonymous to allow a non-trusted domain into our authenticated Intranet environment, everything works, except that now authenticated users by default get the anonymous look and feel, meaning they don

  • Having trouble with persistOctober 11

    I have created a simple application where a user can order items and then i'm saving the order and all the items (details of order) to the dataBase. i'm using jdk1.5 with jboss and mySql (also hibernate). i'm having troubles with saving the details o

  • Abandon Orders in ATGNovember 30

    How to configure the number of day following which the Incomplete should be considered abandon orders ? What is the OOTB days set for it ? I couldn't find it in docsI dont see Abandoned services in the list of running products in ATG dyn/admin -- whi

  • ERROR [nucleusNamespace.atg.dynamo.messaging.MessagingManager]November 30

    When I check the server.log theres the following error filling up the whole file: ERROR [nucleusNamespace.atg.dynamo.messaging.MessagingManager] (InputDestinationConsumer-sqldms:/sqldms/CacheInvalidator) An error occurred while trying to receive and

  • Want to display a date in column heading.October 11

    Hi all, Will be thankful, if anyone can tell me how to solve one of the issue i am facing in webi variable display. In universe, i am creating one prompt for date and user will enter the desired date, and with respect to that date, the previous date

  • Should EntityManaer be Closed in a Desktop Application EnvironmentNovember 30

    Hi All, I'm developing a desktop application with persistence api to connection to database. The application consists of two simple classes Order and Customer, where Customer is used as a field in Order. There is a ManyToOne relationship from Order t

  • Need help in understanding oracle plsql design phase.November 30

    I am new user learning oracle plsql. I wanted to know following points. 1) Is there any process we follow before developing oracle procedures. 2) Is there any algorithm, flowchart, diagrams we use for orcale procedure development. 3) What should I le

  • One to many relationship in hibernateNovember 30

    I am very much new to hibernate, for testing purpose I am using JPA annotations and hibernate. While testing one to many relationship , I got a problem I have a PurchaseOrder class and OrderLine class having one to many relationship. package orderpac

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 15 q. 0.873 s.