aspose file tools*
The moose likes Ranch Office and the fly likes what mechanism does javaranch employ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "what mechanism does javaranch employ?" Watch "what mechanism does javaranch employ?" New topic
Author

what mechanism does javaranch employ?

yuvraj kotegar
Ranch Hand

Joined: Jul 31, 2008
Posts: 120
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

Joined: Mar 06, 2001
Posts: 13459

Since you can't see anything in the URL, it suggests cookies.
yuvraj kotegar
Ranch Hand

Joined: Jul 31, 2008
Posts: 120
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

Joined: Aug 18, 2008
Posts: 598

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.


My Blog SCJP 5 SCWCD 5
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Apr 14, 2004
Posts: 10336

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.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
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...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42601
    
  65
And to answer the original question, URL rewriting will not be used. Without cookies, no logging in and posting.


Ping & DNS - my free Android networking tools app
yuvraj kotegar
Ranch Hand

Joined: Jul 31, 2008
Posts: 120
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

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Jul 31, 2008
Posts: 120
Thanks everybody

 
wood burning stoves
 
subject: what mechanism does javaranch employ?