[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2006-03-08 Thread bulloncito
... just to complement, we've already tried this

http://wiki.jboss.org/wiki/Wiki.jsp?page=DistributedPortletSession

with no success. There is a reference to a " Portal Session " ... does this 
mean regular " HttpSession " ? or is there another session besides 
PortletSession and HttpSession

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928916#3928916

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928916


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2006-03-08 Thread bulloncito
--- Are your filter and your portlet deployed in the same WAR context ?
--- Rembember: each context has its own distinct session! 

--- There is a config option to share the portal's session across all contexts 
though. Check the docs for how to activate that.

What do you mean by that ? We've deployed several portlets from diferent WARs, 
and each keeps it's own HTTP session wich is in turn wrapped by PortalSession 
thru that prefix thing, will this configuration merge session from different 
portlets from different applications ? or just this prefix-domain thing ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928915#3928915

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928915


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2006-01-26 Thread [EMAIL PROTECTED]
Hi,
in method void doView(JBossRenderRequest  request, JBossRenderResponse 
response) i need to get a information about user like user IP,...
In JSP I do it using request.getRemoteAddr() where request was 
HttpServletRequest.

How Can I do it in portlet? 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919784#3919784

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919784


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2006-01-05 Thread mholzner
Are your filter and your portlet deployed in the same WAR context ? 
Rembember: each context has its own distinct session! 

There is a config option to share the portal's session across all contexts 
though. Check the docs for how to activate that. 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915837#3915837

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915837


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2006-01-04 Thread jason.bradfield
I am having trouble with the below

I have a servlet filter mapping to the PortalServlet.
it is doing the following:
HttpServletRequest req = (HttpServletRequest) request;
  | HttpSession session = req.getSession();   
  | session.setAttribute("REQUEST-URI", req.getRequestURI());

In my portlet I am doing this..
String requestUri = (String) request.getPortletSession()
  | .getAttribute("REQUEST-URI", 
PortletSession.APPLICATION_SCOPE);
I am getting null returned

Can anyone give me any pointers as to why this is not working..
I am using Portal 2.0 and AS 4.0.3.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915702#3915702

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915702


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2005-11-11 Thread bcollins
You are correct...I guess I should have read the code as well...

  |  if (i == PORTLET_SCOPE)
  | 
  |   {
  | 
  |  s = prefix + s;
  | 
  |   }
  | 
  |   return session.getAttribute(s);

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906871#3906871

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906871


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2005-11-11 Thread mholzner
you don't need a work around, you need to read the java doc ;) 

  |   req.getPortletSession().getAttribute("", 
PortletSession.APPLICATION_SCOPE);
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906820#3906820

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906820


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2005-11-10 Thread sandeeppujar
I am also having the same problem, any pointers ? solutions..?

Thanks,
Sandeep

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906683#3906683

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906683


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user