Session ID changed after Ajax Post

Hello,
I have this web part in Office 365 that saves the SpContext in Session by key. After the Ajax Call Post the Session ID is changed to a different one. And the SpContext is also gone :(. 
Why?
How can I make the Session stay the same and keep the Key SpContext readable in the session object.
Regards,
Ronald.
Ronald Put

Hi,
Which web part did you used in Office 365? A custom web part?
As this question is more relate to Office 365, I suggest you post it to Office 365 Forum, you will get more help and confirmed answers from there.
http://community.office365.com/en-us/forums/default.aspx
Best regards,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Firefox expects more (spinning circle shown) after AJAX post to CGI complete. How do I tell Firefox thats all its getting?

    After POSTing a simple form to an nph CGI using AJAX, Firefox appears to expect more and shows the spinning circle after the request is complete and the returned content is displayed in the browser window.
    The javascript works OK with Internet Explorer.
    The CGI returns Content-Length in the HTTP header.
    submitForm.xml.onreadystatechange=function()
    if(submitForm.xml.readyState==4)
    // Everything ok here
    How do I tell Firefox thats all its getting and to replace the spinning circle with the website favicon?
    Browser O/Ss: Windows XP and openSUSE 2012.1
    Server O/S: Linux (Mandriva 2009)
    Httpd: Apache 2.2.22
    Thanks.

    See if you can find the answer with the links here: <br />
    http://www.google.com/search?q=site:developer.mozilla.org%20document.write%28%29&ie=utf-8&oe=utf-8&lr=lang_en

  • I want to block SO line item wise qtg Change ,after Post goods received .

    Dear Expart
    I want to configue SO line line item wise qtg change after PGI.
    Can any one tell me the SPRO for the said configue.
    Yeasin

    Hi YEASIN,
    This option is not supported by standard functionality.
    But still you can achieve this thru User exit - MV45AFZZ -
    Ask your abaper to write the logic and input in the user exit - and issue a warning message as 'no changes can be made as Delivery for this item is completed' or wht ever way you want.
    Because we had similar issue and we had done this thr user exit and it was working fine now.
    Revert back if you need any more clarification on the same.
    Rgds
    Sunil.

  • Problem with Sessions & CFID Changing Unexpectedly

    MY SETUP...
    ColdFusion version 8.01 Standard
    Hotfix version hf801-00002.jar 
    Java version 1.6.0_04
    server OS Windows 2008 Enterprise 32bit
    webserver IIS 7.0.6
    database MySql 5.0.67
    THE PROBLEM
    For some visitors, every page on the website gives them a new CFID/CFTOKEN. I tried to narrow it down to a particular browser, but it's happening in every browser. It's only happening for some people. It was happening to me, then it stopped. Not sure what I did to fix it, but it's still happening to others.
    I'm using CFID/CFTOKEN (or more recently, a random number stored in a session.variable) as their temporary ID when they add something to their shopping cart. Problem is, when the CFID or session value changes, the items in their cart are no longer associated with them anymore - their cart appears to be empty at that point.
    For the love of God, what is causing the CFID and Session variables to change on every page? I am storing the client global variables in a MySql table which was setup by CF Administrator and appears to be working properly.
    Lastly, this site has been working fine for years, all of the sudden after some PCI Compliance conformity and CF Patches, this problem arose, so I want to blame it on the patches, but I'm not sure.
    Has anyone else ever had this problem? How did you fix it?

    It can also be (and will always be caused) by any user who's browser (or any part of the connection) does not maintain the cookies.
    If the request does not contain a cookie with currently valid cfid|cftoken and|or cfsessionid values, ColdFusion will generate new ones.  This can be cause by security settings in the browser, OS, firewall, proxy etc.
    This has become an increasingly rare issue in modern Internet computing, but it was a fairly common back in the day when cookies where a new idea.

  • Mistakenly reversed goods receipt after invoice posted

    Hi experts,
    I already post this question in EAM forum, but moved to here as I think I will get more useful replies.
    I have a PO that was goods receipted and invoiced receipted. Later on, the GR was reversed, and now that entry needs to be reverse... We're having a negative value in our reports that should not be there.
    What would be the way to fix this? Is it OK that the goods receipted may be reversed after invoice receipted.. i.e. after an invoice has been posted? In Tx. OMBZ the Mvt. 102 has "RevGR desp. IR" unchecked.
    Kind Regards,
    Andres.
    Original thread: Reverse goods receipt after invoice posted.

    Just do a GR again for the PO and this should fix your problem. The original document and reversal documents will remain there with another GR document against PO.
    Unless the payment against the invoice hasnt been made, your preceding documents can be changed. Once the payment has been made, you should not be able to change any preceding document.
    Edited by: Afshad Irani on May 31, 2010 9:08 AM

  • On Mac. Colours changed after switching to 64bit mode (ver 2.7)

    Been using Lightroom 2.7 on my iMac quite happily and after reading a few articles realised it wasn't running in 64bit so changed it.
    Now colours are all out, most noticeable on reds:
    Before change
    After Change
    Any ideas why this is happening?
    Tried changing back to 32bit and still the same so something has changed.
    Thanks
    Andrew
    P.S Posted this on another forum and just to clarify here also, whilst the above are exported jpegs, these are used purely for illustration. The colour change is happening within lightroom itself, not on export.

    After some advice elsewhere it seems I have 'lost' some of the camera calibration profiles.
    I only have ACR3.1 and ACR4.4 listed and checked on another machine I used I normally have it set to Adobe Standard.
    So, how can I get the profiles back?
    OK. Problem solved. Reinstalled Lightroom.
    Usually fixes things

  • URGENT-Dynamic News Application. Dynamic Servlet Change method to POST

    When I first logon to the Dynamic Servlet I get a form with USERNAME and PASSWORD and Categories and Subcategories to select with a "Create Profile" button. After enetering details I get the next html page which is the news detail page generated out of DynamicIE.xsl.
    The Form generated in DynamicServlet uses a defaullt method of GET to submit. I want to change it to POST and did it in the code but it does not work. After I changege the method to POST and I click the "Create Profile" button the next HTML with news detial is not displyed, it just displays the same HTML. I checked the syntax of POST looks fine. I followed the code, when the form is submitted RequestHandler.java reads the params and populates the Category,Subcategory and Types vectors and then the function servlethandler.sendDynamicHTML is called which in turn calls the applyXSLtoXML function. In this whole process I do not see why the next form is not generated when the method is POST and why it is displayed when the method is GET.
    I changed the methods to POST for the AdminServlet by making the changes in the Admin.xsl and it works fine.
    It is really confusing me as the logic of the code should not have any effect with the form submission method. Any quick help will be appreciated.

    We are passing the REQUEST_TYPE as part of the URL. If we use the POST method, those values are not able to catch from the java appalication. The servlet is written in such a way that based on different conditions we are displaying different pages. Since it is checking the value of REQUEST_TYPE there and not matching with the values, it ia again giving the same old page.

  • CS5 indd files occasionally change after saving and reopening

    Occasionally the contents of my InDesign document will change after saving and re-opening.  No errors reported during the save however when the file is opened a text box may be out of place or leading may be messed-up on a few random pages or some of the recent changes may not have been saved.  Any ideas?

    There was no direct indication that you created the code in a standard module. I asked because you reported that the code works in the sample workbook that you downloaded but not in your own workbook.
    I don't know what else to suggest at the moment.
    Could you create a stripped-down copy of the workbook (without sensitive information) and make it available through one of the websites that let you upload and share a file, such as Windows Live SkyDrive (https://skydrive.live.com),
    FileDropper (http://filedropper.com) or DropBox (http://www.dropbox.com). Then post a link to the uploaded and shared file here.
    Or register at www.eileenslounge.com (it's free) and post a message in the Excel forum. You can attach files up to 250 KB to a post there (zipped if necessary).
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Unexpected namespace change after mapping change

    Unexpected namespace change after mapping change
    Posted: Apr 18, 2006 5:17 AM    Reply 
    Hi all
    We developped a mapping about one year ago on XI SP9.
    The source of the message was an Idoc and the target an XML sample (and not a xsd!) of what our customer expected.
    Everything was working fine at that point.
    Here is an extract of the output we had:
    <?xml version="1.0" encoding="UTF-8" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header xmlns:p="http://localhost/webs/msgDetails.xsd">
    <p:msgDetails xmlns:p="http://localhost/webs/msgDetails.xsd">
    <p:sender>
    <p:senderId>XXX</p:senderId>
    <p:senderName>AUSTRALIA/NEW ZEALAND</p:senderName>
    </p:sender>
    We are now running SP14 and we had to change the mapping. Since we changed it the namespaces defined in the sample XML we use as a target structure are not used anymore, instead they are replaced by ns0, ns1...
    Now the output looks like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.w3.org/2001/XMLSchema-instance" ns1:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
    <ns0:Header>
    <ns2:msgDetails xmlns:p="http://localhost/webs/msgDetails.xsd" xmlns:ns2="http://localhost/webs/msgDetails.xsd">
    <ns2:sender>
    <ns2:senderId>21873</ns2:senderId>
    <ns2:senderName>XXX</ns2:senderName>
    </ns2:sender>
    Any idea what has happened here?
    Thanks in advance
    Gregory

    Hi Gregory,
    after a short view I would say that the two structures you have posted are logically equivalent.
    I try to make it clear for the sender-element.
    In the first example you have a tag <p:sender>. Obviously the namespace prefix 'p' is used here. In order to find out the qualified name of the element represented by that tag you have to find the namespace declaration for prefix p. As the tag itself does not contain such a declaration you have to go to the parent-tag. Indeed, here you find a declaration for p which says that p is just an alias for 'http://localhost/webs/msgDetails.xsd'. Hence the qualified name for the element is: 'sender' in namespace 'http://localhost/webs/msgDetails.xsd'.
    Now let us look at the corresponding tag <ns2:sender> in the second document. In oder to identify the qualified name of the element you have to find out, which namespace is bound to the namespace prefix ns2 which has been used here. Again you cannot find this in the tag itself but in its parent. Here you find that ns2 is bound to 'http://localhost/webs/msgDetails.xsd'. (Indeed, here you see that prefix p is also bound to that namespace. This seems to be superfluous to me, as the prefix is never used.)
    Consequently, the qualified name of that element is: 'sender' in namespace 'http://localhost/webs/msgDetails.xsd'.
    Thus, both tags represent elements with the same qualified name. For more details look at http://www.w3.org/TR/REC-xml-names/.
    Greetings Stephan

  • Image changing after merge or flattening. How can I troubleshoot?

    It happened on rare occasions before but recently I had the need to reset PS to it's default settings and it's happening with greater frequency. I'll make adjustments and when I try to shrink the file by merging or flattening the color profile or luminance will change. Often not a lot, but enough to notice.
    My work around was to make a stamp copy and save that, but it sometimes doesn't work.
    Can anyone suggest the settings I need to check to make everything seamless? Are there any color profiles that might change in the conversion I can check? I'm most often working in RGB in 16 or 8 bit mode. It's most often adjustments to levels or curves that don't take, but sometimes filters, too.
    Here's an example of my workflow with two pics. The difference is subtle but it's annoying.
    Filter sky out of photo, create mask to turn sky uniform white.
    Command E to merge the mask with the photo.
    Create Smart Object (from photo)
    Apply cutout filter. Apply notebook.
    Duplicate the SO with adjustments three times.
    Use Lasso to select a piece (flag) and copy to its own layer.
    Set that layer on top of the stack.
    Set the filter for all three layers to multiply.
    The texture from the filter Notebook fails every time I merge, flatten, or send back to LR and the color comes out lighter. Here's an example from this piece.https://flic.kr/p/r6A1Zd (what I want) https://flic.kr/p/qc5QTD (not what I want).

    Thank you for the response. I did read it right after you posted it but waited until I had yet another chance to try it out. Both times, neither solution worked.
    For whatever reason PS is showing me different images when I have my layers open from when I consolidate them -- no matter how I consolidate them. It doesn't happen every time and I can't identify a pattern except that it most frequently happens if I use the filters in the gallery. Also, it seems to not be applying color adjustments.
    If I zoom the image to 100% the before and after is always different. If I save it to disk in .psd or .tiff I still get a different image. When I send it to LR I have a different image from what I've been working on. It's frustrating. It can happen in RGB, LAB, or CMYK. I'm going to try reinstalling PS to see if that makes a difference, but assuming it doesn't I somehow need to make PS show me what I'm working on. Do you know what settings affect the image preview, the version I see while I'm working on screen?
    FYI, I'm using a 2013 iMac, 36GB RAM allocating PS with 90% of the memory.

  • MAP change after GR reversal for subcontracting PO

    Dear experts,
    I am facing problem that the MAP of component changed after GR reversal for subcontracting PO. The posting date of GR is the same date with reversal date, lets say component A in accounting document during GR is $31 when reversing the MAP $19. FYI, I am using batch valuation. Does any body share with me, appreciate any responses.
    Best regards,
    mahnansa

    In accounting document is reflected the component cost was $31 while after reversal (MT 102) the cost in accounting document $19.
    Dear you mean to say during GR of subcontractiong accounting document price of that component is $31 and during Reversal of same subcontracting document GR it is showing $19 if my understanding is correct then there might be some other goods movements might have happened in due time which  could have changed the component price as it is a MAP so analyse the same in MB51.
    Cheers
    KK

  • Color change after exporting from Lightroom

    I noticed a drastic color change after exporting a file from Lightroom to a JPEG file today. I have been using Lightroom for a while, and it never happened before. I am assuming that I changed the setting somehow and I cannot find how to fix it.
    Here is the original.
    After exporting to a JPEG. The color is so drastically different. I tried both sRGB and AdobeRGB and they turn out to have the same problem.
    It is not as clear as JPEG files, but edited files with Photoshop CS5 also looks slightly different viewed on Lightroom.
    I would appreciate it if anyone could help me.  Thank you so much for your help!

    Thanks everyone for looking into my problem!
    >Can you upload a sample of each
    >* Raw File
    >* XMP Sidecar
    >* Exported JPEG
    I somehow can't find XMP sidecar files in my folders.... So instead, I exported the JPEG file to the 2nd JPEG file, hoping you can compare those two JPEG files.
    The colors get lighter and lighter every time I export the files. I uploaded those files (RAW, 1st JPEG, 2nd JPEG) on line. I also changed the file samples from the original post because I can't add watermarks.
    I checked my flles, but there is no preset applied to the JPEGs.
    I am thinking of unistallng Lightroom and reinstalling it and see what happens.
    Thanks!
    1. The data of the RAW file: http://yuko-hirao-photo.hechtmail.com/others/DSC00530.ARW
    2. Data of the GPEG exported from the RAW: http://yuko-hirao-photo.hechtmail.com/others/DSC00530test_upload_01.jpg
    3. Data of the JPEG exported from above JPEG: http://yuko-hirao-photo.hechtmail.com/others/DSC00530test_upload_01test_upload_01.jpg

  • What to do when the client asks for changes after final audio mix?

    Sometimes a client will want changes after the final audio mix has been done. That is, I've already sent the project from Premiere Pro to Audition, done a master mix, and sent it back to Premiere Pro. If I'm then asked to make changes to the video, I don't know of any way to preserve the work I've already done in Audition and just update it with changes. I find myself making the changes in Premiere Pro and re-sending the whole project back to Audition for a completely new mix. This isn't very time efficient, and I'm wondering if anyone knows if I can update a project in Audition with changes in Premiere Pro without having to start again?
    Obviously it's best to have picture lock before doing the final mix, but things happen and people change their minds.
    I'm working in CS6.
    Thanks
    Carolyn

    "The only question I have is whether it is possible to save any of the work
    I've done in Audition when I am resending back from Premiere."
    A: Absolutely
    "When I add more elements to my sequence and unmute the original track and export the
    new sequence to Audition, I am basically starting on a fresh mix, right?"
    A: Yes
    "It's a new sequence?"
    No. It's the same sequence. But without the tracks (stems) you previously had in it.
    "The only option seems to be to overwrite. My question is whether I can save any of the work I've already done in Audition- there is often a couple of hours of work in already.
    A: Before you do anything, save whatever work you've done in Audtion as a session.

  • [SOLVED] Time is changed after every reboot

    Hello,
    my Arch has strange behaviour regarding the system time. I use latest up-to-date arch with KDE. No explicite NTPD running and I don't have it in DAEMONS under rc.conf. The KDE own time & date environment is configured to not automatically change time. In /etc/rc.conf I have HARDWARECLOCK="localtime" and TIMEZONE="America/Chicago". Now from the environment to the problem:
    Whenever I shutdown or restart my system, the time will be changed after booting into linux again. After shutdown with correct time using "date -s ..", the BIOS clock is correct. Then, when it actually boots into arch, there will be a delay
    of 20-40 seconds for "$ date" (approximatelly the time of the reboot process) and also in the BIOS clock!
    After shuting down before going to bed and restarting in the morning, the time will be approximately (or more or less exactly) the time when I shutted down... It should not be related to KDE as I observe the same behaviour when I remove kdm from daemons in rc.conf, hence, booting to console, setting time, restarting into console...
    As I have dual boot: this problem is not observable using windows...
    It seems like the time is stored somewhere during shutdown process and changed accordingly during reboot...?!?
    Any ideas or comments? It's really crazy how annoying a wrong computer clock becomes (all IMs and system stuff is based on it...). :-(
    Last edited by ichbinder (2010-10-10 09:11:01)

    Thanks for all the quick responses!
    Primoz wrote:maybe you should start using ntp or openntpd?
    It provides you with time directly from the net.
    Well, I tried to use ntp. As I am using KDE, there should already be a synchronisation service active. I can activate synchronisation in System Settings -> Date & Time and it works right after activation. But further on, e.g. after a restart - and hence such a wrong time as described in my first post - it does not correct anything. So it seems like, there is also a problem with this KDE synchronisation. But to state why I'm not using it anymore: it doesn't make much sense to use it as this is just a work around and does not solve the problem that the hardware clock might become wrong (so, e.g. I end up with a wrong clock in windows or so). In general, I just want to have a correct clock without synchronisation before I activate synchronisation.
    ewaller wrote:
    That seems weird.
    When you power up, what happens if, before starting your boot loader, you enter the BIOS set up and check the system time?
    Yes, it is. Well, if the hardware clock has been set correctly using e.g. hwclock it will be correct in BIOS before I restart arch. Similar observations for the following case:
    - set HW clock correct in BIOS
    - start arch ... shutdown arch
    - check HW clock in BIOS -> correct
    - start arch ... shutdown arch
    - check HW clcok in BIOS -> incorrect
    ewaller wrote:...
    Other thoughts:  date -s does not set the BIOS clock, it sets the Linux kernel time.  On what do you assert that the BIOS clock is correct at shutdown.
    Thanks for the hint! In that case, it seems like the KDE Date & Time settings influence both, hwclock and date.
    ewaller wrote:...
    Also, once booted into Linux, what does the command hwclock show?  This command reads the actual BIOS hardware clock.
    Yeah, I used that alot now. So as described, it is also incorrect after a restart. But only after arch has booted again. To sum it up:
    Using whatever tools to set the hardware clock and the system clock (KDE's tool, hwclock + date, or BIOS + date), both are correct until I reboot into arch the next time. If I do that, it resets both to a time similar to the last shutdown time.
    karol wrote:
    This doesn't fix anything, but you can try https://bugs.archlinux.org/task/13684#comment52246 - using UTC instead of localtime.
    I never checked if my system clock is running perfect at all times or is /etc/cron.hourly/adjtime correcting it once in a while.
    Hm, not to sure what they are doing exactly there and how this might help... :-/
    What do you mean with the second part of the sentence? Not sure if /etc/chron.hourly/adjtime is doing anything in my case... How can I check if that cronjob is running?
    karol wrote:Have you tried this http://wiki.archlinux.org/index.php/Time#Time_Skew ?
    But this is very interesting! I will remove /var/lib/hwclock/adjtime  as described in the wiki and see what happens then. Thanks!

  • Why does my session ID change actionResponse.sendRedirect()?

    Any ideas why my session ID would change after executing actionResponse.sendRedirect(<insert absolute url to a page in the same application>)?
    50% of the time my session id persists after sendRedirect(). The other 50% of the time the session id changes. This happens without making any changes to the application.
    Any ideas are welcomed.

    actionResponse.sendRedirect() supports 1)absolute URL and 2)full URI. try with full URI.
    Apart from these,why do you need to do the redirection ? If requires that,you can do it very well using taskflow.
    Regards,
    Hoque

Maybe you are looking for

  • Can I use my time capsule for time machine back ups and as an external storage device?

    I have a time capsule and have set it up so that my time machine back ups are saved on it, but I would also like to use it as an external hard drive. Is this possible? I know nothing about computers so please tell me in very basic terms. thankyou!

  • Advance payments vender/customer

    pls send entries of advance payment down payments & advance received from custemors my id is [email protected]

  • Help identifying a port

    Hey, I just got a w510 and am having trouble identifying a port right above the usb/eSATA combo port. It's long and thin, almost looks like it's meant for setting RFID cards or something. Any body have any clues? I can't seem to find any specs on it.

  • How to make reusable methods?

    I have a program that reads through a collection of project Ids, connects to a website, inputs the project id in one at a time. I then collect data from the website and insert it into a DB. I have code in my program that I have copied over and over a

  • Can iPhoto(1) & Aperture(2) share library so I can view w/ 1 & edit w/ 2

    Here's my situation. I'd used iPhoto for years, but recently switched to using Aperture. When setting up Aperture, I "imported" the iPhoto library by electing to leave the photos in their current location (i.e. in the iPhoto library). Any photos I su