• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

is it possible to remove the jsessionid in url when cookie are not available?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure what you mean by "set up jforum like this one"... If I disable cookies for this site, I start getting the jsessionid parameter added to the URLs. It seems to be behaving exactly like you described in the initial post.

IMHO, given that there is a large set of web applications that require session cookies to behave correctly. I'd say that this isn't a jForum issue, but rather an issue with the web spider software you're having the problems with. This software would fail to work with a lot of PhP, .Net, and other applications and not just jForum. Perhaps you need to take this up with the spider software people.

FWIW: Google, Yahoo, and MSN have no problems with searching this site using session cookies because I can find some of my postings on them and the URLs have no session parameters.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guy,
I noticed that when an user doesn't accept cookie, like a search engine spider for example, jforum attach the jsessionid in the urls, lihe this example:

with cookie:
http://www.jforum.net/forums/show/9.page

without cookie:
http://www.jforum.net/forums/show/9.page;jsessionid=FA479830A5475C079205C8E37793BF42

thats a really big problem to be indexed in search engine.

So I would like to know if it is possible to remove it when cookie are disabled or not available

Thank you
F.
[originally posted on jforum.net by k3k]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You had problems with jsessionid's indexed by google or any other engine? I never saw that.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:You had problems with jsessionid's indexed by google or any other engine? I never saw that.

Rafael



Hi Rafael,
I noticed that if I disable cookie (with web developer toolbar in FF for example) and I browse this forum the jsessionid param is attached in the URL.

I also Noticed that if I use the "Google bot" as User agent this problem disappear (so, as you said, this forum doesn't have problem with google) (how can I do this?)

I would like to know if there is a way to remove this param from the ULR in any case.

thanks for yuor answer
F.
[originally posted on jforum.net by k3k]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AFAIK, it's not possible. You either have to support temporary session cookies (like Google Bot obviously does) or the session id parameter.

This is because, like most complex web app engines (including non-Java ones), you need to be able to associate the request with a particular session. Even in the case of anonymous access, the request is associated with an anonymous user session.

Can your search engine be set up to ignore all parameters on URLs? e.g. anything after the ?.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok,
I would like to know how is it possible to set up jforum like this one.

so that if I browse this forum without the cookie and I have "googlebot" as user agent, the urls are perfeclty clear (without the jsessionid) (like this forum)


thank you
F.


[originally posted on jforum.net by k3k]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

monroe wrote:Not sure what you mean by "set up jforum like this one"... If I disable cookies for this site, I start getting the jsessionid parameter added to the URLs. It seems to be behaving exactly like you described in the initial post.



yes, exactly.
But, if you also use the firefox extension "User Agent Switcher" and you set your user agent like Goglebot2.1
"(Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
you will see that the jsessionid parameter disappears.
Thisi is regular cloaking, and I would like to know how to do it with jforum
(you have to simulate google spider, so no cookie and google user agent)


monroe wrote:FWIW: Google, Yahoo, and MSN have no problems with searching this site using session cookies because I can find some of my postings on them and the URLs have no session parameters.



They have no problem because they don't view the jsessionid parameter, but not all jforum handle the problem in the same way.

thank you
F.


[originally posted on jforum.net by k3k]
 
Alas, poor Yorick, he knew this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic