Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-18-2006
dashie dashie is offline
Registered User
 
Name: Maurizio Merli
Organization: Università degli Studi di Milano
Project: N/A
 
Join Date: Dec 2004
Location: Milan, Italy
Posts: 26
Session

I create a Session object after authenticate a user. Now how can I share auth token from every call to other ice object as HttpSession do?
I try to use context but i have to pass it to every object. I would like to have something global.
__________________
Maurizio Merli
Università degli Studi di Milano
Reply With Quote
  #2 (permalink)  
Old 02-19-2006
xdm's Avatar
xdm xdm is offline
ZeroC Staff
 
Name: José Gutíerrez de la Concha Martínez
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Sep 2003
Location: La Coruña, Spain
Posts: 284
One way for do it is using a facade

read this thread for more info
Glacier2/ identity
Reply With Quote
  #3 (permalink)  
Old 02-19-2006
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,780
Sessions have been discussed here on these forums many times. I recommend to search this forum for "session" to get more information about the various possibilities to implement sessions.
Reply With Quote
  #4 (permalink)  
Old 02-19-2006
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,028
You might also want to check the first article of Connections. See http://www.zeroc.com/newsletter where I wrote about session management with Glacier and the session demo which does't require Glacier (demo/Ice/session).

If you REALLY want to use a Context (which is a bad idea) then you can set this globally, on a per-proxy basis and on a per-call basis. See the Ice manual for details.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine the reason of a destroyed session joel vennin Help Center 3 08-10-2006 08:19 PM
Session Management with Glacier2 question 123w456t Help Center 1 03-29-2006 05:46 PM
Glacier2 session expiration Nis Baggesen Help Center 10 03-21-2006 07:05 AM
Session creation/destruction bartley Help Center 4 03-17-2006 10:50 AM
How to use session? Dmitriy Help Center 2 06-18-2004 09:22 AM


All times are GMT -4. The time now is 01:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.