Which user's info to store in session
Hi all,
I would like to ask you, in a classic scenario with user authentication and multi language support, which user related information is good to store in session scope and which not... (username, language iso code, TimeZone, other stuff...)
Thank you
Any user-specific data that is required by the application can go into session. But remember it occupies server memory and so be careful not to put large amount of data in session.
Similar Messages
-
Hi All,
I get the below error when i load my xsjs file in browser,
Error while executing query: [dberror(PreparedStatement.executeQuery): 2048 - column store error: column store error: [2950] user is not authorized : at ptime/session/dist/RemoteQueryExecution.cc:1354]
I am able to execute the same query in HANA SQL editor
Please note that ,No Analytical privileges are applied to the view.
Could you please help solving this issue.
Regards,
Logesh Kumar.Hay,
are you using the same Database user for both SQL Editor and XSJS ?
try the following.
Before executing the query , display it and copy the same from browser and execute in SQL editor.
Put the statement in a try catch block and analyse the exception .
Sreehari -
How to store jsp session data of different user in util.hashmap
how to store jsp session data of different user in java.util.hashmap
and access the data of all user on the server side
The same example is given in professional jsp but its not working.
I can use getIds() of httpsessioncontext but it's depricatedHi
I'm trying to make an example.
With the following codes you can get the date from the session.
request.getSession().getAttribute("sessionname")
To store it in a hashmap you could do it like this ->
Hashmap hm = new Hashmap();
hm.put(Object key, request.getSession().getAttribute("sessionname"));
I hope you understand it if not just write it!
Cyrill -
how can i get my user manual info back onto my settings menu
this heading did not appear on the settings menu following a restore necessitated bt a freezing screen glitch thanksI'm not entirely sure what you are referring to, there isn't a user manual section in the iPad's Settings app. If you want an iPad then you can either download it from here : http://support.apple.com/manuals/ipad/
Or if you download the iBooks app then there should be a copy in the ibookstore in it -
Info on which users are running which workbooks & when
Hi
Is there any way that I can monitor which users are using which workbooks and when they are running their queries. Are these stats logged anywhere?
Cheers
ClaireYes. All you need to import the EUL4.EEX file and open the query Query Statistics workbook. It is described in the Admin Guide.
-
Find which user has "Personal Greeting"
Dear NetPro gurus,
Is there any tools that can help my customer to view at a glance which user has used Personal Greeting, and which are just using System Default greeting??
One of my customers has over 1,000 users and I was wondering whether such tool exist rather than having me to click on each user mailbox one-by-one.
I did tried to export using Bulk Administration Tool as well as using User Dump Tool but neither allows me to see who has used Personal Greeting on their mailbox.
I have spent a lot of time research on this already. Would greatly appreciated if anyone can shed some light on this.
Cheers,
HuntYou had a previous post on this in which I provided the following:
When you run the Subscriber Information Dump for Unity, you have the option to pull the WAV file info for greetings as well as data for which greeting(s) are enabled. When you do that, you would be able to see the following:
Greeting WAV file – standard. This will include the WAV file name of the standard greeting for a subscriber. The WAV file itself is copied into the same directory where you select the CSV File to be written to so be sure to pick a directory that has enough space to store all the greeting files. The file will be named with the alias of the subscriber followed by “_GREETING_STANDARD.WAV”. If there is no standard greeting recorded for the subscriber, the column will be empty. If there is a standard greeting it will be copied to the output directory as noted and the file name used will be written in the column.
I haven't looked at this data for the purpose you intend but the standard (and alternate) greetings are the most commonly used. When you set up your mailbox, it asks you to record a personal greeting (this would be the Standard greeting). If you do not record a personal greeting then the system default would be used. So, if I have a personal greeting then the applicable Greeting WAV file output in the subscriber dump should be populated. Otherwise, it would be blank. Should be easy for you to test and verify if this is the case.
I think this will give you what you need. Did you take a look at this data yet?
Hailey
Please rate helpful posts! -
Multiple users of Mail on the Mac session
Before switching from PowerMail to Mail, I'd like to know if there's a way with Mail to store my emails in a separate folder from those of my wife so that I could access only my emails when I open Mail and my wife could only access hers. For example, can I create two Mail folders in the ~/Library (or somewhere else) and put an alias in the Dock to force Mail to open my wife's or mine without having to create different user profiles and switch between Mac sessions? Thanks!
Thanks. I guess I'll have to pay for the upgrade and stick with PowerMail until Apple makes the creation of separate profiles part of Mail, which I don't expect to see in the near future. Too bad. But I really want to avoid creating different user accounts on my Mac. Does anyone know of a client that offers the possibility for multiple email profiles that would also happen to be freeware?
-
i'm having some issues trying to change my account billing---I have a new debit card and i need to punch in the new number but when i go to edit my info itunes says my 'session has timed out.' i've logged in and out more than once. what's the problem?
Try to change the credit information from your iphone or other ios device. Tap on settings > store > tap Apple ID > tap view account > tap payment information > change
-
How to retrieve which user-agent in a java portlet?
Is there a way to get http user-agent info about which browser requested a page with a portlet from within the java portlet?
It seems like the request.getHeader() always returns the same value no matter what browser we use.
Have also tried portletRenderRequest.getOriginalHeader() but this method also returns the same result.
Does the PPE replace these headers or what..?
Regards,
Per A JorgensenHi Per A Jorgensen,
I see what you mean. I just deployed a simple portlet which displays the user-agent header property.
Here are my observations:
1. If you access the page as user1 from Mozilla, I see the following:
Browser Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 RPT-HTTPClient/0.3-3 RPT-HTTPClient/0.3-3
2. If I now access this page from IE, as user1, then I still see my browser agent as:
Browser Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 RPT-HTTPClient/0.3-3 RPT-HTTPClient/0.3-3
3. If I now access this page from IE, as user2, then i see the following details:
Browser Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3 RPT-HTTPClient/0.3-3
4. Now I access the same page from Mozilla (after logging out of user1) as user2, I see the following:
Browser Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3 RPT-HTTPClient/0.3-3
Hmm.. interesting.. it looks like, whoever access the provider first, fixes the user-agent. I need to investigate more into it to find out information as to why this is happening.
In the mean-time, you can be rest assured that as long as you dont have multiple user's accessing the portlet as the same user, you will get the correct information.
thanks,
Harsha -
BI Admin Cockpit Show Which Users Ran Which Queries?
My org needs an idea of which users are running which queries, and how often. I'm looking at installing BI Admin Cockpit. The info I am finding indicates that Admin Cockpit is more about the runtime performance of queries and extractions. I'm not interested in that (much). Can anyone say whether installing Admin Cockpit and the Technical Content that goes along with it will answer who is running which queries?
Thanks.Better to go for DBA Cockpit,which is acts like central instance to all the tools like
ST03 and RSTRACE,ST04,ST05.Where you can able to trac who is accessing the queries and what is data base performance and background job information. -
How can i restrict a user not open more than 3 sessions in database
how can i restrict a user not open more than 3 sessions in database.For this i have already create a profile and set CONCURRENT_SESSIONS=3 and assing that profile to user but the problem is there.
You will simply need to use the following parameter in your CREATE PROFILE syntax.
CREATE PROFILE normal_user
LIMIT SESSIONS_PER_USER 2;
but the resource limits set for a profile are enforced only when you enable resource limitation for the associated database.
you could do this either by having an initialization paramater which will invoke as soon as the database starts or try using ALTER SYSTEM command -
Which user/schema executed query in V$SQLAREA
I am looking on one row/query in view "V$SQLAREA" and want to which user/schema was used to log in to the database when that one query was executed. How i can get that schema name?
Should i look this column maybe:
V$SQLAREA
PARSING_SCHEMA_NAME VARCHAR2(30) Schema name that was used to parse this child cursor( http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2129.htm )
I have Java software that uses different database schemas/users to make connections to my database. And i want to know for one query which schema/user was used to connect to database before running the query.
I think i need to join "V$SQLAREA" to view V$SESSION and there the column "USERNAME" tells me the connection user name for the executed query.
V$SESSION
USERNAME VARCHAR2(30) Oracle username
( http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2088.htm )Seems like i fail to join "V$SQLAREA" to view V$SESSION:
select q.SQL_TEXT, q.sql_id, q.PARSING_SCHEMA_NAME, q.ADDRESS, q.last_active_time, s.USERNAME, s.SCHEMANAME from v$sqlarea q, v$session s
where q.last_active_time > sysdate - 1
and q.sql_text like 'DELETE FROM casino.lgngameoperationlog WHERE sessionCode%'
and s.sql_address=q.address
order by last_active_time desc
no rows found
select q.SQL_TEXT, q.sql_id, q.PARSING_SCHEMA_NAME, q.ADDRESS, q.last_active_time from v$sqlarea q
where q.last_active_time > sysdate - 1
and q.sql_text like 'DELETE FROM casino.lgngameoperationlog WHERE sessionCode%'
order by last_active_time desc
'DELETE FROM casino.lgngameoperationlog WHERE sessionCode = :1 and sessionType = :2'; 51thfgbubkkg6; JAVA; 0000000392523658; 28.10.2010 18:09:14;
*/I have Java software that uses different database schemas/users to make connections to my database. And i want to know for one query which schema/user was used to connect to database before running the query.If the SQL-text sits inside your Java code, that is the text does not sit inside some stored pl/sql program unit, then you can use parsing_schema_id, yes.
If the SQL-text sits inside a stored procedure, then depending on how that procedure is defined (invoker rights or definer rights), you could use parsing_schema_id too (in the first case (invoker rights)). -
Populating cost center automatically by Ts code WVFB - Which user exit ?
Hi experts,
I want to populate cost center and to do 'k' assignment automatically using WVFB for Sotre Order creation.
Which user-exit should be activate? thanks a lot in advance.
( the purpose is when user create a store order by transaction code WVFB , the fields of 'k' assingment and cost center don't need to be filled out, an user exit should make 'k' assignment & fill out cost center KOSTL. I just need to know this user exit).
EXIT_SAPLWVFB_002 will be good for my problem? please advice. thanks.Yes. I solved my problem.
EXIT_SAPLWVFB_002 was used to do it. -
Need to store multiple session values in flex
Hi,
I need to store multiple session values in flex based on the user who logged in.
For Example, if a user logged in as an administrator and in another windows another user logged in as guest, i need to maintain two seperate session for the two different users.
Is it possible for maintaining different sessions.
Expecting your valuable response.
Thanks
Jude PaulLook at Shared Objects. You can store this information in them by creating a unique object for each type of user.
-
User cannot dropped after run "Kill Session" command
Hi ,
I’m facing problem with oracle user,
Oracle 10G R(2).Windows Xp
Application in .NET
1)I create user:
2)Then I check current session using this select”
"SELECT SID, SERIAL# FROM V$SESSION WHERE UserName =
3)Then I execute this statement from application”
ALTER SYSTEM KILL SESSION '{sid},{serialno}' IMMEDIATE”
4)In our scenario user is no more connected.
5) Now when we run below this statement from application oracle gives an error”CANNOT DROP THE USER THAT IS CURRENTLY CONNECTED”
DROP USER {0} CASCADE
Please advice.
Faheem LatifComments embedded
Hi ,
I’m facing problem with oracle user,
Oracle 10G R(2).Windows Xp
Application in .NET
1)I create user:Please post complete command
>
2)Then I check current session using this select”
"SELECT SID, SERIAL# FROM V$SESSION WHERE UserName =
Please post the complete command.
3)Then I execute this statement from application”
ALTER SYSTEM KILL SESSION '{sid},{serialno}'
IMMEDIATE”
Please post the complete command
4)In our scenario user is no more connected. How did you verify? Please post the complete command.
>
5) Now when we run below this statement from
application oracle gives an error”CANNOT DROP THE
USER THAT IS CURRENTLY CONNECTED” So the user is still connected.
Which user are you trying to drop? Yourself?
Again, please post the complete command.
>
DROP USER {0} CASCADE
Please advice.
Faheem LatifMy advice is you either provide sufficient detail, including all commands, and stop relying on crystal balls and fortunetellers.
No one here was looking over your shoulder, so no one can tell what happened, without you providing sufficient clues. I agree with you this is cumbersome, and doesn't comply with your custom to dump everything here, not doing any research yourself.
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
How to get the value of column from previous row to current row?
Hi All, I am facing a critical problem in SQL query (for reporting purpose (COGNOS)). please reply to my query. REQUIREMENT: i want to retrive value of a column (this is not a table column, this will be calculated based expression) from previous row
-
Need to add a link on Page title bar
HI, Can i know how can i add a link on page title bar. When i click on that link, it should open a page in a separate window. Regards, Raju
-
Want to perform live with Garageband... How do I hook up to a PA system?
Looking to use My iMac G5 live on stage to run backing tracks while I play keyboards live. What is the best way to hook up the computer to the PA system? Can I do it direct or should I use my M-audio MobilePre USB? Please Advise... thanks
-
How to Convert Crystal Enterprise v10.0 Business Views to BOE XI?
Hi, It took a long time, but my company FINALLY upgraded from Crystal Enterpise and Crystal Reports v10.0. We just purchased BusinessObjects Edge XI and Crystal Reports 2011. I went to the training class a few months ago, but due to the delay in ou
-
How can I change the language from dutch to english
I can't read Dutch, and I can't change it back to Engish. Because I do not understand a word to change it back.