This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what mechanism does javaranch employ?

 
yuvraj kotegar
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i login into my account in javaranch.

without logging out. i close the browser. so the next time when i visit javaranch big moose saloon forum

logging in is not required since i did'nt log out last time.

so what is the mechanism used here is it cookies or urlrewriting??
[ October 02, 2008: Message edited by: Bear Bibeault ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you can't see anything in the URL, it suggests cookies.
 
yuvraj kotegar
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so if i disable cookis in my browser?? then will it automatically make use of URLREWRITING???

Thanks for the previous reply..
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes they are using cookies. Try it by deleting cookoes and then open the website again. This time you have to login to post any thing.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure why we're over here now, but we can continue...

Originally posted by yuvraj kotegar:
so if i disable cookis in my browser?? then will it automatically make use of URLREWRITING???


No, in general applications will not automatically switch to URL rewriting. You probably wouldn't be able to log in.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David O'Meara:
Not sure why we're over here now, but we can continue...

We are here because the question was about JavaRanch specifically, not Servlets in general.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by yuvraj kotegar:
so if i disable cookis in my browser?? then will it automatically make use of URLREWRITING???

Thanks for the previous reply..


URL-rewriting cannot possibly used *between* sessions, as far as I can tell...
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And to answer the original question, URL rewriting will not be used. Without cookies, no logging in and posting.
 
yuvraj kotegar
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so if i disable cookie in my browser

there is no way i can login and use javaranch??

i mean what is the alternative logic written?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no alternative logic.
Some browsers distinguish between in-memory (browser or session) cookies and persistent cookies, but to my knowledge the Ranch does not.
 
yuvraj kotegar
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everybody

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic