Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

ProfileString Funtion for Julie Jang

2 posts in Appeon (partner product) Last posting was on 2005-05-10 10:44:11.0Z
arturo fuentes Posted on 2005-05-09 18:11:30.0Z
From: "arturo fuentes" <arturofuentes@starshoes.com.mx>
Newsgroups: sybase.public.appeon
Subject: ProfileString Funtion for Julie Jang
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: dsl-200-67-186-247.prod-empresarial.com.mx
X-Original-NNTP-Posting-Host: dsl-200-67-186-247.prod-empresarial.com.mx
Message-ID: <427fa7d2$1@forums-1-dub>
Date: 9 May 2005 11:11:30 -0700
X-Trace: forums-1-dub 1115662290 200.67.186.247 (9 May 2005 11:11:30 -0700)
X-Original-Trace: 9 May 2005 11:11:30 -0700, dsl-200-67-186-247.prod-empresarial.com.mx
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:831
Article PK: 20915

Thanks for te aswer about the ProfileString Funtion, but With This
solution The Value is the same for all the Clients, I need to assign a
diferent Value for each Client, because the because the system
is for 10 stores of shoes and I need to validate the number of the store.

Thaks!!!


Julie Jiang Posted on 2005-05-10 10:44:11.0Z
From: "Julie Jiang" <julie.jiang@appeon.net>
Newsgroups: sybase.public.appeon
Organization: 218.18.114.119
References: <427fa7d2$1@forums-1-dub>
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Re: ProfileString Funtion for Julie Jang
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <4280907b$1@forums-1-dub>
Date: 10 May 2005 03:44:11 -0700
X-Trace: forums-1-dub 1115721851 64.79.161.40 (10 May 2005 03:44:11 -0700)
X-Original-Trace: 10 May 2005 03:44:11 -0700, web110.discountasp.net
Lines: 56
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:837
Article PK: 20917

There are two requirements when you use INI file on the Web: (1) the browser
must be cookie-enabled; (2) each client browser only remembers one user profile.
That is, after user A logs in to the application on computer A, when user B logs
in to the application on computer A, user B uses user A's profile (unless the
cookie is cleared).

Appeon engineer suggests you to assign different values for different users with
the ProfileString in the following way:
1. Define the section in store.ini as follows:
[store]
store1=1
store2=2
store3=3
store4=4

2.Use choose case to get different value for excuting different logic:
string ls_store, ls_store1, ls_store2, ls_store3, ls_store4

ls_store1 = profilestring("store.ini","store","store1","")
ls_store2 = profilestring("store.ini","store","store2","")
ls_store3 = profilestring("store.ini","store","store3","")
ls_store4 = profilestring("store.ini","store","store4","")

choose case ls_store
case ls_store1

case ls_store2

case ls_store3

case ls_store4

case else

end choose

Besides using INI to achieve the purpose of stroing different values for
different clients, you can also consider using tables (not INI) for storing the
numbers of stores in a table, and then get different store by checking the
number first.

Regards,
Julie


On 9 May 2005 11:11:30 -0700,
in sybase.public.appeon

arturo fuentes <arturofuentes@starshoes.com.mx> wrote:
>Thanks for te aswer about the ProfileString Funtion, but With This
>solution The Value is the same for all the Clients, I need to assign a
>diferent Value for each Client, because the because the system
>is for 10 stores of shoes and I need to validate the number of the store.
>
>Thaks!!!
>
>