Hi there,
I have a web site, with a web service in folder within the website.
Everything works as I would expect it to. I have just added some
functionality to the web service that accesses a user profile and then
updates one of the settings then saves the profile. No exceptions occur
during this process and as far as I can see it all completes as expected.
Unfortunately the setting remains at its previous value.
I'm use an almost identical piece of code within the website itself which
does update the value. At the time the update is made the user is already
logged into the system but the web service is invoked externally via a
client based application. Any ideas why the profile won't update?
Many thanks in advance for your time and advice.
Nick. 2 2295
Aaaahhh on further investigation, it does save the value. It just doesn't
update unless I reset IIS for some reason...
"Nick" <a@a.comwrote in message
news:Ob******** ******@TK2MSFTN GP05.phx.gbl...
Hi there,
I have a web site, with a web service in folder within the website.
Everything works as I would expect it to. I have just added some
functionality to the web service that accesses a user profile and then
updates one of the settings then saves the profile. No exceptions occur
during this process and as far as I can see it all completes as expected.
Unfortunately the setting remains at its previous value.
I'm use an almost identical piece of code within the website itself which
does update the value. At the time the update is made the user is already
logged into the system but the web service is invoked externally via a
client based application. Any ideas why the profile won't update?
Many thanks in advance for your time and advice.
Nick.
Okay doh! The problem was caused by caching of the profile to save time from
repeat reloading.
"Nick" <a@a.comwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Aaaahhh on further investigation, it does save the value. It just doesn't
update unless I reset IIS for some reason...
"Nick" <a@a.comwrote in message
news:Ob******** ******@TK2MSFTN GP05.phx.gbl...
>Hi there,
I have a web site, with a web service in folder within the website. Everything works as I would expect it to. I have just added some functionalit y to the web service that accesses a user profile and then updates one of the settings then saves the profile. No exceptions occur during this process and as far as I can see it all completes as expected. Unfortunatel y the setting remains at its previous value.
I'm use an almost identical piece of code within the website itself which does update the value. At the time the update is made the user is already logged into the system but the web service is invoked externally via a client based application. Any ideas why the profile won't update?
Many thanks in advance for your time and advice.
Nick. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Shimon Sim |
last post by:
Hi
I am working on application that need to hold custom user information - Last
and first name, email, some other domain related information.
I used to create Base class for all my pages. The base class would have
CurrentUser property that would hold customer class in session and that was
fine for all my situations.
Now ASP.NET 2.0 came and we have Profile property for pages that could be
extended with configuration to have custom...
|
by: Miguel Dias Moura |
last post by:
Hello,
I am working on an Asp.Net 2.0 / SQL 2005 web site.
I am using profile to save the users info on the database.
For example, I have the following structure:
Public Structure Name
Public First As String
Public Last As String
End Structure
|
by: vishnu |
last post by:
I am working on Profile system.I am using CreateUserWizard control for
creating New User.I want to add more information other than
(UserName,Email,Password,ConfirmPassword.....) such as
Country,Gender,Age.So I need to use Profile system.
I added the following code in web.config file:
<profile enabled="true">
|
by: shapper |
last post by:
Hello,
On the web site I am working I have multiple profile properties, being
each one a custom class:
<add allowAnonymous="false" name="Personal"
type="MyWebSite.Profile.Collaborator" serializeAs="Binary"/>
<add allowAnonymous="false" name="Contacts"
type="MyWebSite.Profile.Contact" serializeAs="Binary"/>
<add allowAnonymous="true" name="Settings"
|
by: shapper |
last post by:
Hello,
I read everything I could find and still I get an error ... this is not
making much sense.
The objective: Create a profile for an existing user.
I need to use: Multiple classes with properties and methods which are
added in Web.Config's profile properties.
| |
by: ashish |
last post by:
hi all,
I am writing a custom profile provider to save my business object as one
of the properties of the profile
however i am facing a problem'
the HttpContext.Current.Session property is valid in in the Get
PropertyValues method,
|
by: shapper |
last post by:
Hello,
In my Page's VB.NET code I am changing the value of the Profile
property NAME.
Profile.Name = tbName.Text
However, I need to change this property value from a class in my
App_Code so I did:
|
by: shapper |
last post by:
Hello,
I have an ASP.NET page and in its runtime code I am trying to get an
user profile, change it and save it.
It works if I use Profile, which is the profile for the current
authenticated user. But I want to change the profile of another user.
Anyway, I am using:
|
by: Oriane |
last post by:
Hi there,
I would like to open my Asp.Net project as a "Web Application" rather than
as a "Web Site" in Visual Studio.
But the thing is that I use the System.Web.Profile and the auto-generated
class "ProfileCommon myApp.Profile", which provides me with type profile
properties. And the fact is that this generated class is not generated with
Web app...
For ex, in the web site project, if "X" is a profile Property, I can write:
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |