Setting expiration of client variables

We are in need to expire client variables at the same rate as
session variables. In our case this is 2 hours.
Unfortunately, our client variables expire randomly well
before 2 hours are passed.
What should be the correct setting to achieve this?
Our configuration:
- Client variables are stored in their own separate database.
- The checkbox 'Purge data for clients that remain unvisited
for 0 days' is checked and days is set to 0.
- The checkbox 'Disable global client variable updates' is
not checked.
- The 'Purge Interval' is set to 2 hours and 0 minutes.
Thank you,
Alex Ismail

Hi,
I noticed you managed to "persuade" the proxy WS client in setting timeout.
Can this be done using JCX control too?
With regards, matevz
Matevz Mutec, M.Sc.
Information systems development engineer
Telekom Slovenije, d.d.
Information technology department
Tel.no.: +386-1-2341868
Cell.tel.no.: +386-41-752266 (MPO 8868)
www.telekom.si
<velagale> wrote in message news:[email protected]..
Anyway,
I figured it out myself, by looking at other posts and applying some
reflection API
HelloWorld_Impl proxy = new HelloWorld_Impl();
HelloWorldSoap soapProxy = proxy.getHelloWorldSoap();
// I learnt that this soapProxy is infact an object of HelloWorldSoap_Stub
class
HelloWorldSoap_Stub myStub =
(HelloWorldSoap_Stub)proxy.getHelloWorldSoap();
BindingInfo bInfo =
(BindingInfo)myStub._getProperty("weblogic.webservice.bindinginfo");
bInfo.setTimeout(5); //secs
myStub._setProperty("weblogic.webservice.rpc.timeoutsecs", "5"); // secs
// finally you can call the methods of the web service
soapProxy.Hello();
Please be aware that, upon time out, you would get an exception : <class =
java.rmi.RemoteException
cause = javax.xml.rpc.soap.SOAPFaultException:
javax.xml.rpc.JAXRPCException:java.net.SocketTimeoutException: Read timed
out.>

Similar Messages

  • Client variable storage setting

    Here is a little question hope someone can shine some light
    on it.
    Right now I am using the database as the client variable
    storage in CF (with options of Purge data for 1 day and Disable
    global client variable updates ). But it gives the database server
    a really heavy load (50-90% CPU usage average) and I believe this
    is the bottleneck of the time it takes CF serving the pages. I was
    wondering that is this good idea to put the client variable storage
    back to the Registry or cookie (for a quick fix until we upgrade
    the servers in 4 weeks)? We have average of 46000 page view/day and
    9000 visits/day.
    CFMX 6.11 apply the Hot fix for client variables already
    Win2003
    P4 with 2gb ram
    Thanks

    It is a bottleneck. But on 46k pages views with that high of
    a CPU load, you must really have a very undersized db server. We're
    doing 3 million page views/day and about 65% of those use client
    variables and it doesn't even phase our db server.
    Putting them into a cookie shoudl work just fine. I wouldn't
    use the registry setting. It'll make a mess of your registry.
    You should consider session variables where possible. Those
    stay in server memory.

  • Spry XML data set and dynamic post variables

    Hi,
    I am trying to create an XML data set that has dynamic post
    variables.
    Everytime something is pressed on the page a variable changes
    and I then want to reload the XML data set using the new variable.
    I know I can just pull in an XML with all possible variables
    and filter client side but this would make it way too large.
    Does anyone know what I may need to do.
    I tried this:
    var myVar = 0;
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'top' , { method: 'POST' ,
    postData: sid=ajaja21&ip=127.0.0.1&cid=' . myVar ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    onclick="myVar=1";
    But the script doesn't understand the post variables sent (it
    does when I remove the . myVar part and put in a static value). I
    think it isn't sending that dynamic variable with the post
    variables.
    Any ideas anyone?
    Thanks

    Well I had it working when I stripped back everything and
    just had the dss data set and a single onclick function, but now
    that I put it back together it hash foobared again.
    Here are the relevant bits of code that I've changed.
    The function to change server id:
    //function to run when changing the server id
    function changeServer ( sid ) {
    //set the url to use the current server id
    dss.setURL = ( '../../cgi-bin/server_details.pl' , { method:
    'POST' , postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid='+sid
    //force a reload of the server data
    dss.loadData();
    The inital load of the data set
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'yams' , { method: 'POST' ,
    postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid=0' ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    And the part that changes the server id
    <td align="left" style="cursor:default; width:174px;"
    onclick="changeServer({dsv::servers/server/@id})">{dsv::servers/server/name}</td>
    I checked that the function is receiving the correct server
    id and I even tried hard coding the cid variable to 2 in the change
    function but it still wasn't changing on the server side.
    Any ideas?
    Thanks

  • Client variables not working in Apache and CF8

    I have Apache and CF8 set up with multiple virtual hosts
    locally for development(win xp pro, apache 2.2.4)
    Client variables are not working. I can log into CF
    administrator fine(not sure if authentication uses client variables
    or not). Any site that I work on that uses client variables behaves
    as if the variable is not defined after setting it then going to
    another page that checks for its existence. I have verified that
    client variables are set up in cf administrator.
    Thanks for any help

    Thanks a lot. I understood the mistake. Pls do not spend time on this.
    Thanks,
    Swarna

  • Client variables storage in production environment?

    Right now we are using Registry to store client variables in production environment, will changing it to Database increase the performance? or  what i heard from my colleague is that  In production environment , using Database for client storage is not advisable! how true is his statement.

    His statement is completely wrong.  The docs talk about this here: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0c35c -7fd5.html
    Specifically, read this paragraph from that reference:
    Choosing a client variable storage method
    By default, ColdFusion stores client variables in the Registry. In most cases, however, it is more appropriate to store the information as client cookies or in a SQL database.
    The ColdFusion Administrator Client Variables page controls the default client variable location. You can override the default location by specifying a This.clientStorage value in Application.cfc or by setting the clientStorage attribute in thecfapplication tag.
    You can specify the following values for the client storage method:
    Registry (default). Client variables are stored under the key HKEY_LOCAL_MACHINE\ SOFTWARE\Macromedia\ColdFusion\CurrentVersion\Clients.
    Name of a data source configured in ColdFusion Administrator
    Cookie
    Generally, it is most efficient to store client variables in a database. Although the Registry option is the default, the Registry has significant limitations for client data storage. The Registry cannot be used in clustered systems and its use for client variables on UNIX is not supported in ColdFusion.

  • LVISIT usage in Client Variables

    I have a need to track the last visit of a user on my site.
    After some searching it appears that the LVISIT column of the
    CGLOBAL table in the client variables database should hold the data
    that I need. Unfortunately this column is null on every record.
    In CF Administrator the global client variable updates are
    enabled.
    Why is this not getting updated?
    Version Info:
    Server Product ColdFusion MX
    Version 7,0,2,142559
    Edition Standard
    Operating System Windows 2003
    OS Version 5.2

    Hi,
    If you are using DB user you have to connect to the disocverer using your connect window without checking the "oracle application user" at the bottom. for example apps/[email protected] out the TNS name for the DB user is correct or not.
    If your using an application user then first you have to go to discoverer administartor and go to tools/options and go to connection and check connect to both standard and application EUL's and give the gateway user as APPLSYSPUB/PUB and foundation name as APPS.
    If your connecting to application user,the TNS name should be set in oracle/BI tools home/network/admin and set the TNS name.
    Hope this helps you.
    Best Wishes,
    Kranthi.

  • Cannot Delete Client Variables

    Summary: I have a logout page that deletes session and client
    variables. When I execute the page, the CF debugging information
    notes that all the session and client vars have been deleted.
    However, when I execute another page in the same application and on
    the same browser, that page's debugging info notes that the client
    var stll exists. How is the server showing that the client var
    doesn't exist one page, but exists on another? (I am using CF MX
    Version: 6,1,0,63958)
    *****Here's the code I use to delete the client and session
    vars
    <!--- Delete session variables --->
    <cfapplication
    name="SteadyApp"
    sessionmanagement="yes"
    sessiontimeout="#createTimeSpan(0,0,0,0)#">
    <!--- Delete client variables --->
    <cfset DelteVar = DeleteClientVariable("userID")>
    *****Here's the code from my application.cfm page:
    <cfapplication
    name = "SteadyApplication"
    clientmanagement = "Yes"
    clientstorage="SteadyDatabase"
    setdomaincookies="Yes"
    sessionmanagement="Yes">
    Thank you in advance.
    /AJ

    I continuely have this same problem, so if someone has any
    insight on whats up with this... please.
    let me ask you this though... where is your setting of your
    variable located? is it in the appplication.cfm page?
    if it is this might be the problem. even though you are
    deleting the var in your delete page, the application page is
    present and will persist the var because ... it knows...

  • Client variables stored in registry getting errors

    I'm moving from CF9 to CF10.  On the new server I've moved things over, and run the suggested lock-down proceedures.  On the CF9 box, I'm using the registry to store client variables.
    On the new server I've set it up to use the registry to store client variables.  In the coldfusion-out file, I'm getting errors like:
    Jan 15, 2013 15:39:03 PM Information [ajp-bio-8012-exec-4] - Unable to set value HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\ColdFusion\CurrentVersion\Clients\4210-c8158ffa199 3bc18-7CF31106-90B1-1C19-1B0C24F3BDD33D8C\hitcount: Windows error number 0 occurred.The handle is invalid. 
    Jan 15, 2013 15:39:03 PM Information [ajp-bio-8012-exec-4] - Unable to set value HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\ColdFusion\CurrentVersion\Clients\4210-c8158ffa199 3bc18-7CF31106-90B1-1C19-1B0C24F3BDD33D8C\cftoken: Windows error number 0 occurred.The handle is invalid. 
    Jan 15, 2013 15:39:03 PM Information [ajp-bio-8012-exec-4] - Unable to set value HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\ColdFusion\CurrentVersion\Clients\4210-c8158ffa199 3bc18-7CF31106-90B1-1C19-1B0C24F3BDD33D8C\cfid: Windows error number 0 occurred.The handle is invalid.
    On the new server, CF logs in with its own user whereas on the old system, CF logged in as admin.  I'm guessing this might be the issue. 
    Anyone having similar issues or can suggest a solution?  I did a search but most people were either turing off client variables or the answer was from 2006. 
    Thanks.

    All that said (and I do agree with Adam and Carl that you should eschew the registry for client vars), the answer to your question is that yes, it had to do with your having changed the user that the CF service runs as. You need to grant permissions on that path in the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\ColdFusion\CurrentVersion\Clients\) for that user. Find it using regedit, and right-click on that path, and choose “permissions”.
    Hopefully that’s enough to get you going. But again, do give serious thought to switching to cookie or a datasource to hold them.
    (Sadly, while many people will tell you to do that, they don’t give any guidance on how to get any and all legit client var data out of the registry and into a new storage mechanism. That’s because it’s not easy, and it’s way too big to discuss here in this forum post.)
    /charlie

  • Embeded derby as client variable store

    I've spent considerable time trying to configure the built-in
    derby embeded DB as a CF client variable store and have failed
    utterly. It seems to be impossible.
    I had a SQL Server client store which worked just find, but,
    for various reasons that are irrelevant here, I would really prefer
    not to do that and use derby instead.
    I created the database, created the dsn, set the dsn as the
    client store and it all looked okay. But it isn't. The CLOCAL and
    CGLOBAL tables were not created as they should have been (and were
    for SQL Server). So I created them by hand as described in the
    help
    files, but that failed as well. Changing various things yields
    different errors, but there is a consisted 500 Server error. I can
    only guess that the database writes are failing, but there is no
    indication as to why.
    I have looked all over adobe.com and all over the intertubes
    and there is no further information of any kind. In fact, the
    latest instructions for even creating the database date back to
    May
    2007 and have no resemblance to the administrators screens at
    all. (I'm running CF 8,0,1,195765 standard). When I create an
    embedded derby dsn, I get the generic "default"
    Data & Services > Datasources > Other screen.
    There's nothing "derby" about it.
    So, frankly, it seems pretty pointless and useless to me. If
    someone can point me DIRECTLY to relevant information, I'd
    appreciate it. I cannot believe in the year plus this product has
    been out that NO ONE has done this, especially when it's commented
    all
    over the place that this is one of the things you can do, yet
    there's nothing. Even searching for just "derby" on these forums
    yields only three hits, none of which are relevant.

    >> Well it does actually *tell you* it won't create
    them automatically when
    > > you go to set the DSN as the client store. I
    suppose one has to read what
    > > it says on the screen, which I have to say I don't
    bother doing a lot of
    > > the time in CFAdmin because I "know" what the text
    says. This very screen
    > > has caught me out with that before. Just the first
    time, though.
    >
    > Actually, it does not tell you. The SQL Server screen
    presents you with a box
    > that says "create tables" but this one does not.
    It doesn't say - underneath the "Description" text area "Your
    data source
    requires you to manually create the necessary database tables
    to store your
    client variables. See the Online Help for details. "?
    It does for me.
    You have a most curious CF install, and I would be very
    hesitant continuing
    with it given what you say.
    What OS are you running on? Do you still have your install
    logs, and do
    they reveal anything relevant?
    Is this an install that was fresh 8.0 (or 8.0.1), or has it
    been upgraded
    from an earlier release?
    > The ones you expect. And the tables are there and
    created correctly as per
    > <cfdbinfo> which matches the <cfdbinfo>
    created by CF in SQL Server. Things
    > like:
    > CREATE TABLE CDATA (cfid char (64), app char (64), data
    clob,)
    > CREATE TABLE CGLOBAL (cfid char (64), data clob, lvisit
    datetime)
    > CREATE UNIQUE INDEX id1 ON CDATA(cfid, app)
    > CREATE INDEX id2 ON CGLOBAL(cfid)
    > CREATE INDEX id3 ON CGLOBAL(lvisit)
    OK, that sounds about right. The only thing I did different
    was to use
    timestamp rather than datetime. I'm not sure if that's worth
    a try.
    Can you insert / update / delete manually to/from those?
    > > What are the error messages?
    > As I said, the only consistent one is an Apache 500
    Server error
    The inconsistent ones would probably be helpful to know about
    too.
    What goes into the CF logs when these errors are being
    raised? Do the 500
    errors give an stack trace info? I think 500 errors usually
    don't, but
    don't exactly recall.
    > > That sounds wrong. I get " Data & Services >
    Datasources > Apache Derby
    > > Embedded" on all three servers I have at my
    disposal currently (a mix of
    > > CF8 multiserver, CF8 stand-alone), and the rest of
    the screen is
    > > Derby-specific. It sounds to me like your install
    is bung. Are you saying
    > > when you select "Apache Derby Embedded" you just
    get the same screen you
    > > would have had you selected "other"? Odd.
    >
    > Also, as I said, I do not get any Derby anything.
    I'm finding your tone a bit tedious to be honest.
    I asked for clarification because you weren't completely
    clear in your
    post, and I just wanted to make sure you were sure what you
    were seeing
    because it's somewhat unusual to be getting completely the
    wrong screens in
    CFAdmin. In all the CF servers I have had responsibility for,
    I've not
    seen this, so I just wanted to *make sure* I was reading you
    right.
    > "other" jdbc data source creation screen, In fact, I
    even copied the
    > derby-specific URL from the create link and pasted it
    into the browser, and CF
    > Admin redirected it to the generic jdbc. This happens on
    all three CF servers I
    > have access to (all running 8.0.1 standard).
    Weird. How did you create the Derby DBs themselves? It's
    usually one of
    the options on the create DSN screen. Did you create them
    manually or
    using some other client tool?
    > > I think your problem here is your attitude that
    because *you* can't make
    > > something work then automatically nor can anyone
    else. That is seldom
    > > going to be the case, surely (or you lead a very
    charmed life). I always
    > > find that when something doesn't work for me in CF
    it's almost always my
    > > fault.
    >
    > Thank you for your opinion. It's most helpful
    When trying to solve a problem that's a result of something
    you've done, I
    find it easy to take the mindset that *you've* done something
    wrong, not
    [something else] has done something wrong. Once one starts
    looking more
    analytically at one's own actions, sometimes a flag comes up,
    and there's a
    bit of a "slap forehead" moment. However if it's
    predetermined that
    something else is at fault and one is just the victim of
    circumstance, it's
    difficult to progress.
    It's just better to dispense with the hand-wringing and roll
    up the sleeves
    and get on with fixing it.
    > should have somehow psychically determined. If you read
    for comprehension
    > you'll see that I said I can't believe no one had done
    it.
    Have you not found anyone reporting to have used the Derby
    DB? I have to
    say that I'd never used it before y/day, because I've got the
    luxury of
    having Oracle or SQL Server DBs at my disposal. However I do
    know of other
    organisations using Derby for their demo DBs, and have read a
    few things
    about its usage.
    I don't think you should expect to hear people reporting back
    "hey I am
    using Derby to store my client variables", because I don't
    think it's
    really that report-worthy. How many people to you see
    reporting back "I'm
    using my Oracle DB to store client variables"? As "storing
    client
    variables in a DB" is such a mundane thing, people are only
    going to report
    on it if they have had problems with it. Maybe no-one's done
    it (except
    for me, as of y/day). Maybe no-one's had a problem with it. A
    case in
    point: I had no problems setting it up, so I have no further
    need to report
    anything to anyone about it because it's "job done, move on".
    > As I said the first time and again above, and will
    repeat again here: I can't
    > find anywhere where someone said they've actually done
    it.
    I've *actually done it*. I told you this y/day, as soon as
    you asked.
    There you go. Can we move on now please?
    I'm not actually sure you want help, but if you do, follow up
    with those
    error message and anything from the logs that are helpful. I
    think you
    just want to have a moan as to how you've been so put upon,
    and if that's
    the case, I think we're done here. It's up to you as to how
    to proceed.
    Adam

  • Purging Client Variables - App Locks up

    We have 5 CF7mx servers running - load balanced. We're using
    SQL Server 2005 for our DB. We're using the DB for clientstorage.
    One of the 5 CF boxes has this turned on --> Purge data for
    clients that remain unvisited for 9 days. What we experience is
    that every so often, all of our servers either get stuck on a
    SELECT MAX @@Precision call, or a CDATA delete. When this occurs,
    all we can do is end task jrun to bring them back to life. Any
    suggestions? This problem followed us to our new data center, new
    hardware, new infrastructure all around. A former coworker had seen
    this at a previous job, and had noticed that the "purge every x
    days" control seemed to be active on every server, even though it
    was specified, "checked" only on one. We're seeing this as well. He
    also recommended we set the "x days" to a longer period like 2
    weeks, and do the cleanup on the DB side with a sql job for a
    shorter timeframe. Thoughts?

    I had no problems with MySQL 5.1 on CF8.0.1. However, I found
    there were quite a few corners to turn when changing the datasource
    for the client store. I followed the following steps:
    1) Create a new database (called
    client_data)using the following SQL script:
    CREATE DATABASE client_data;
    USE client_data;
    /*Table structure for table cdata */
    DROP TABLE IF EXISTS cdata;
    CREATE TABLE cdata (
    cfid char(64) NOT NULL,
    app char(64) NOT NULL,
    data text,
    UNIQUE KEY id1 (cfid,app)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    /*Table structure for table cglobal */
    DROP TABLE IF EXISTS cglobal;
    CREATE TABLE cglobal (
    cfid char(64) NOT NULL,
    data text,
    lvisit datetime NOT NULL,
    KEY id2 (cfid),
    KEY id3 (lvisit)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    2) Configure a datasource called
    client_data in the datasources page in the Coldfusion
    Adimistrator. Use the following settings:
    Data Source Name:client_data
    Driver:MySQL (4/5)
    Database:client_data
    Server:127.0.0.1
    Port:3306
    Username:root
    Password:BKBK1432
    3) In the Client Variables page in the Administrator, delete
    any previous datasources used for client storage.
    4) Restart Coldfusion.
    5) In the Client Variables page in the Administrator, add
    client_data as the store for client variables. Make sure its
    radio-button is selected.
    6) If necessary, change the value of the
    clientStorage attribute in Application.cfm or the
    this.clientStorage in Application.cfc to "client_data".

  • Find text from a file and set it as a variable in applescript?

    I am trying to build a script that sends me updates and notifications from cex.io. Please keep on reading below, so I may guide you until the point I have trouble with.
    The first simple script in this operation goes to cex.io's trading page for BTC/GHS. It records ands saves the text to a file every 4 seconds. It works great. It doesn't need to have safari refresh because the site pushes info to the browser live.
      repeat
              set the webpage_content to ""
              tell application "Safari" to set the webpage_content to the text of document 1
              set theText to webpage_content
              set a to "Macintosh HD:Users:PRIVATE:Desktop:CEX:"
              set theFile to (open for access file ((a) & "CEXRaw") with write permission)
              write theText to theFile
              close access theFile
              delay 4
      end repeat
    And it returns this from the site to this main file every 4 seconds: (note I cut off a chunk from the bottom and the top of the file, because they are unimportant)
        GHS:
        0.05233439
        BTC:
        0.00000223
        NMC:
        0.00002939
        LTC:
        0.00000000
        GHS/BTC
        0.02362958 LTC/BTC
        0.02438131 NMC/BTC
        0.00597565 GHS/NMC
        3.96951800 BF1/BTC
        1.67000000 Fund Account
        GHS/BTC
        Last price:
        0.02362958
        Daily change:
        -0.00018042
        Today's open:
        0.02381000
        24h volume:
        73812.35539255
    I now need an applescript to read that file, and return wanted values. But I'm lost on how to write it.
    It needs to find the number under BTC, and set it as a variable.
    It needs to find the number under GHS, and set it as a variable.
    It needs to find the number under Last Price, and set it as a variable.
    If anyone could script that really quick for me, or tell me how to do it, that would be amazing. Thank you so much!

    Couldn't tell if you had any whitespace in the lines (i.e. is there a space before or after GHS:), so I used contains, not is.  Also, if you have a line such as GHS/BTC with a colon GHS/BTC:  then it will also fail (as contains "BTC:" would be true for BTC: and GHS/BTC:)
    However, this will give you some guidance:
    set a to "Macintosh HD:Users:PRIVATE:Desktop:CEX:CEXRaw"
    set x to 0
    set Names to paragraphs of (read file a)
    repeat with nextLine in Names
              set x to x + 1
              if nextLine contains "BTC:" then
                        set BTC to item (x + 1) of Names
              else if nextLine contains "GHS:" then
                        set GHS to item (x + 1) of Names
              else if nextLine contains "Last Price:" then
                        set lastPrice to item (x + 1) of Names
              end if
    end repeat

  • Outlook 2013 (Office 365 Install) unable to set Default Mail Client

    After installing Office 2013 via Office 365 for Business, the installation is unable to set Outlook as the default mail client.  Message appears after each system reboot:
    "Either there is no default mail client or the current mail client cannot fulfill the messaging request.  Please run Microsoft Outlook and set it as the default mail client."
    When going into Control Panel and manually set the Outlook client as the default, the setting does not take.  After a reboot, the warning message reappears.
    Anyone else having the same issue?

    MJ
    No but then again it is a Beta. Did you clean install or update?  9926 seems to be relatively stable.
    Wanikiya and Dyami--Team Zigzag

  • Code to set and destroy session variables in Java Server Pages(JSP)

    code to set and destroy session variables in Java Server Pages(JSP)
    we have use following statement to set session variable
    session.setAttribute("userClient",id);
    we have use following statement to destroy session variable
    session.setAttribute("userClient","");
    and
    the session.invalidate() is not working
    Plz. solve this probem

    code to set and destroy session variables in Java
    Server Pages(JSP)
    we have use following statement to set session
    variable
    session.setAttribute("userClient",id);
    we have use following statement to destroy session
    variable
    session.setAttribute("userClient","");Perhaps if you tried using
    session.setAttribute("userClient", null);
    or
    session.removeAttribute("userClient");
    and
    the session.invalidate() is not workingNot working how?
    >
    Plz. solve this probem

  • How to set a new session variable?

    Hi all,
    Can anybody say how to set a new session variable in istore?

    Hi,
    you can use either
    pageContext.getAttribute(VAR, PageContext.REQUEST_SCOPE);
    or
    <%@page session="true" %>
    session.putValue
    session.getValue
    Hope this will help.
    Thanks
    Gurjeet

  • Problem setting up IMAP client that is housed on my MacMini OS 10.6 Server

    I can access my mail account on my Mac Mini OS 10.6 server from my iMac. I can not set up the clients on my iPhone (3S) and iPad (Wi-Fi). Both access the sever through the same Wi-Fi circuit that the iMac uses. Both were originally are synced to the iMac. Error message is first
    "No password is provided for IMAP account". When the password is manually added then the response is
    ""servername" is not responding. Check your network connection and that you entered the correct information in the "incoming Mail Server" filed. I have checked multiple times and modified connection settings just to get the same response. Thank goodness the iMac client works. Could this be a mail server setting or a DNS issue?

    It amuses me that the email that was sent to confirm the posting of this question had a clickable link. Naturally that link did not work. Cutting and pasting it into FireFox allowed me to complete the posting process. Annoying.

Maybe you are looking for

  • I want to do a border-radius with box shadow and it doesn't work, why?

    This should be simple but it's not working and I don't know why. I think the problem is in the html. I simply want to have a div with an image inside that is circular and has an inset shadow and is centered on the page. /*here is my css*/ #div3 { -we

  • Why is there no output from the "IMAQ Co-occurre​nce Matrix" VI?

    When using the "IMAQ Co-occurrence Matrix" VI there is no Co-occurrence matrix output. There Haralick features are produced but the co-occurrence matrix remains empty (It should produce a 8x8 matrix). I am inputting a U8 grayscale image with a displ

  • Re-install Windows 7, Hangs at "Setup is Starting"

    Hello, A little bit of background: last week my laptop (Dell Inspiron 1750) crashed and I was not able to get it to startup. I would get a blue screen with error "unmountable boot volume". Eventually I found that I could access my hard drive to backu

  • External mp3 Audio Problem in Flash 9

    I got problem when loding and playing the mp3 songs in Flash 9 .The last 30 to 40% portion of mp3 file is not getting loaded so that the song is not playing completly .Song is stop before the end length(duration) of mp3. i am trying to use this code

  • K9A2 Promise T3 SATA connectors: Any settings allow for DVD burners?

    The references to SAS and "storage device only" for the Promise T3 controller are a bit cryptic for me, so I'm wondering if anyone can spell out what (if any) settings allow the Promise to control DVD drives.  Win2k Server is my OS.