I'm noticing that when my homepage first starts up, all the menu links
to other pages have the session info appended to the URL. For example:
href="products/product_list.ph p?PHPSESSID=457 59f8aadee64cff2 db65748977ac67"
This is done automatically as the original URL that I coded does not
have the session information added to it.
My first question is, is this normal behavior? The reason I'm
concerned is I have been tracking the Google Bot's activity on our
site and it hits the homepage and does not crawl the other pages. I'm
concerned the added session info is throwing it off.
Should I be concerned and if so, is there a way of preventing it from
appending the session info? I don't have the option of removing the
session_start() from the page because I must test for a session
variable.
Any help on this would be greatly appreciated...
Paul 4 2570
I noticed that Message-ID:
<8b************ ************@po sting.google.co m> from Celebrate contained
the following: Should I be concerned and if so, is there a way of preventing it from appending the session info? I don't have the option of removing the session_start( ) from the page because I must test for a session variable.
The way I understand this is that there are two ways of passing the
session info. One is by setting a cookie and the other is by storing
the session variables on the server and then accessing them via a
session id.
Your security settings are probably preventing cookies being set, hence
the addition of the ID (someone please correct me if I've got this
wrong)
--
Geoff Berrow
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Celebrate wrote: I'm noticing that when my homepage first starts up, all the menu links to other pages have the session info appended to the URL. For example:
href="products/product_list.ph p?PHPSESSID=457 59f8aadee64cff2 db65748977ac67"
This is done automatically as the original URL that I coded does not have the session information added to it.
My first question is, is this normal behavior? The reason I'm concerned is I have been tracking the Google Bot's activity on our site and it hits the homepage and does not crawl the other pages. I'm concerned the added session info is throwing it off.
Yes, it's normal. The first time the session is started, PHP doesn't
know if you support cookies or not. So it sends you a session cookie and
it also rewrites the URL. The second time, PHP receives the cookie, and
thus stops rewriting URLs.
The solution for google is to start the session only when it's
necessary. I think it's also possible to change php.ini in order to only
use cookies for sessions. But if you do that, all the visitors who
deactivate cookies won't be able to use your web site.
JB.
Should I be concerned and if so, is there a way of preventing it from appending the session info? I don't have the option of removing the session_start() from the page because I must test for a session variable.
Any help on this would be greatly appreciated...
Paul pl****@celebrat e-software.com (Celebrate) wrote in message news:<8b******* *************** **@posting.goog le.com>... I'm noticing that when my homepage first starts up, all the menu links to other pages have the session info appended to the URL. For example:
href="products/product_list.ph p?PHPSESSID=457 59f8aadee64cff2 db65748977ac67"
This is done automatically as the original URL that I coded does not have the session information added to it.
My first question is, is this normal behavior? The reason I'm concerned is I have been tracking the Google Bot's activity on our site and it hits the homepage and does not crawl the other pages. I'm concerned the added session info is throwing it off.
It's because in you PHP.ini file, you have session.use_tra ns_sid
= 1. See http://cvs.php.net/co.php/php-src/php.ini-dist Should I be concerned
Not much except for security reasons. Look at your ini file's
session section for more stuff.
---
"US got a nuclear bomb that can destroy the world 13 times. Russia
got a nuclear bomb that can destroy the world 7 times. But...my
friend! Tell me! CAN YOU KILL A MAN TWICE??!!!!!" -- P.A.Sangma, Peace
loving Indian politician against India's step to go for a nuclear
test.
Email: rrjanbiah-at-Y!com ng**********@re diffmail.com (R. Rajesh Jeba Anbiah) wrote in message news:<ab******* *************** ****@posting.go ogle.com>... pl****@celebrat e-software.com (Celebrate) wrote in message news:<8b******* *************** **@posting.goog le.com>... I'm noticing that when my homepage first starts up, all the menu links to other pages have the session info appended to the URL. For example:
href="products/product_list.ph p?PHPSESSID=457 59f8aadee64cff2 db65748977ac67"
This is done automatically as the original URL that I coded does not have the session information added to it.
My first question is, is this normal behavior? The reason I'm concerned is I have been tracking the Google Bot's activity on our site and it hits the homepage and does not crawl the other pages. I'm concerned the added session info is throwing it off.
It's because in you PHP.ini file, you have session.use_tra ns_sid = 1. See http://cvs.php.net/co.php/php-src/php.ini-dist
Should I be concerned
Not much except for security reasons. Look at your ini file's session section for more stuff.
--- "US got a nuclear bomb that can destroy the world 13 times. Russia got a nuclear bomb that can destroy the world 7 times. But...my friend! Tell me! CAN YOU KILL A MAN TWICE??!!!!!" -- P.A.Sangma, Peace loving Indian politician against India's step to go for a nuclear test. Email: rrjanbiah-at-Y!com
Thanks for the help guys.
Paul This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dan King |
last post by:
At a summary page, I am trying to clean up Session.Contents so the user can
go back to the main page and not retain any unnecessary info.
I have entered this into my summary page, but it seems to only eliminate
every other or every third entry. If I refresh the page about 0 times
everything eventually clears out. Anyone know why it would do...
|
by: Scott Wickham |
last post by:
I'm having a problem saving session information on one form and retrieving it
on a subsequent form...for only one out of a number of users. Actually, I'm
not absolutely certain it's a session problem but I'm hoping the experts can
help me figure that out.
Our application uses a session variable to "pass" info from one form to the
next. It...
|
by: Tim Meagher |
last post by:
I am trying to use Forms Authentication for a web page with cookies and a
session state. I'm getting a little confused about how to use both and how
the timeouts work. My goal is to have a web page that uses forms
authentication with login info stored in a database, but also to use some
session info during the course of the application. It...
|
by: Logickle |
last post by:
Hi, all. I'm working on an application which requires communicating
session info between separate web apps running on the same web server.
The out of process server method sounded ideal, and very simple to
implement as far as I could tell. So I re-configured my apps'
web.config and machine.config files from InProc to StateServer, and...
|
by: MrGiga (Robb Sadler) |
last post by:
I have a set of pages with C# code attached to manage session information.
They hang their info off of the session string and store it in a MSDE table.
I have all of this code working well in one app and started another app which
needed much of the same functionality. So I copied the pages, code behinds,
web.config and appropriate DB tables to...
| |
by: Nahrin |
last post by:
I implimented ASP.NET 2.0 Client callback script (ICallbackEventHandler) to
get the result back from server without postback the page. Problem is when
seesion expires or authentication times out, callback script does not do
anything and hangs. If I click another key which requires postback after
that, I get following error:
-----------...
|
by: Riaan |
last post by:
Hi guys!
I have an issue that needs urgent resolution. Imagine this scenario:
You have:
1 production server running Windows Server 2003, IIS6 and an instance
of MSDE 2000.
There is an asp.net app (written in C#) running which has the only
purpose of rendering a page with a "Next" button on it and some status
info. When the user clicks...
|
by: Antonio |
last post by:
Hi, everyone,
I need the web application's session to expire after 20 minutes and I added
this in the web.config file but it is not working. I was able to go onto
the default.aspx page after a couple of days that I haven't logged on and I
was not prompted to. Any suggestions? Thanks
<authentication mode="Forms">
<forms...
|
by: Jonathan Wood |
last post by:
Greetings,
I was wondering if anyone here has a good understaning of the Session
object. I know there are options like the Session.Abandon method and the
regenerateExpiredSessionId setting, although I do not understand what they
do.
Can anyone tell me if it's possible for a recycled session to still contain
the old data? I had a couple...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |