Hi Dave,

---- Dave <[EMAIL PROTECTED]> schrieb:
> For cookie based session tracking, on a jsp or jsf page, when a user click 
> links, all requests are in the same session. Is there a way to open a new 
> session when a user clicks a link and send a request?  Can Filter do that ?

No, I don't think there is any way of doing that with cookie-based session 
tracking. You can delete the cookie, but that effectively makes the old session 
inaccessable; that effect is more easily obtained just by calling 
session.invalidate()!

And a browser cannot have two different cookies with the same value. Well, I 
suppose you could have the same webapp appearing at different paths, eg via 
apache mod_rewrite, and redirect from one path to another to prevent the old 
cookie path from matching. Then a different cookie would be passed for each 
different path.

However it sounds like session-tracking via URL rewriting is the best way to 
achieve this - though I have no idea why you would *want* to do this. Perhaps 
you should describe what you actually want to achieve?

>    
>   If I open a new IE from desktop, all requests from the new IE window are in 
> a different session. Is there a way to run IE or any other application by 
> clicking on a page? 

Only by serving up a mimetype that IE has mapped to an external application. 
But that doesn't help you here, as AFAIK IE has no mimetype configured that 
causes it to start another instance of itself.

Regards,

Simon

Reply via email to