• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Differenciating between Http Request

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want to know is there any way for the web app, to differentiating between incoming requests of the same session. (By pressing Ctrl+N user can open the new browser and hense session can be same) or even if he open altogether different browser then session is also same.

How to solve it. I have tried it by req.GetSessionId() remotePort, remoteAddr bu in vain,

Thanks in Advance

Yogesh G K
[ September 25, 2007: Message edited by: yo ka ]
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This isn't possible, you simply can't tell if the user is working with one window of a browser or has spawned several.

But why would you want to do this in any case? Your code shouldn't need to differentiate between or limit your user to one browser window.
 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi yo ka please see this,
Naming Policy

As of you question


Yogesh:
(By pressing Ctrl+N user can open the new browser and hense session can be same) or even if he open altogether different browser then session is also same.



The behaviour is browser dependent, as far as the second point is concerned i am afraid its not true, two different browsers wont share session.
 
It runs on an internal combustion engine. This ad does not:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic