Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming > PHP
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 08-14-2006, 01:17 PM   #1
HouseOfRock
Member
 
HouseOfRock's Avatar
 
Join Date: Jan 2006
Location: Massachusetts
Posts: 136
HouseOfRock will become famous soon enough
Default PHPSESSION: having some issues.

I have been re-inventing my website with the addition of a user system (among many other things) and for the first time I am using session variables to pass information around my scripts.

My question is, why is a google search turning up results with the SESSIONID in them? I thought the point of the session was to keep user information out of the URL.

I have a few other questions about the whole concept of sessions, but I am trying to work them out on my own. If someone can give me a really great answer here, I'm sure I'll be asking them some others.
__________________
Visit my new and improved humor site: It's Just Humor
Or check out the newest source for HQ celebrity images: It's Just Babes
HouseOfRock is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 08-14-2006, 03:24 PM   #2
kenni
Registered Member
 
kenni's Avatar
 
Join Date: Dec 2005
Posts: 1,543
kenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to behold
Default Re: PHPSESSION: having some issues.

Google does do that at times. The best thing to do is get your phpsessions into cookies rather than in your URLs. Add this code onto the top of your page.

PHP Code:
<?
ini_set
('session.use_only_cookies'1);
?>

The code should force PHP to include the phpsession id into the cookies rather than into the URLs.
__________________
Wanna thank someone? Give 'em a rep. More info.
kenni is offline  
Old 08-14-2006, 08:27 PM   #3
HouseOfRock
Member
 
HouseOfRock's Avatar
 
Join Date: Jan 2006
Location: Massachusetts
Posts: 136
HouseOfRock will become famous soon enough
Default Re: PHPSESSION: having some issues.

How long do these cookies last by default? And do I need to set that ini value on every page, or once a session?
__________________
Visit my new and improved humor site: It's Just Humor
Or check out the newest source for HQ celebrity images: It's Just Babes
HouseOfRock is offline  
Old 08-15-2006, 01:14 AM   #4
kenni
Registered Member
 
kenni's Avatar
 
Join Date: Dec 2005
Posts: 1,543
kenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to beholdkenni is a splendid one to behold
Default Re: PHPSESSION: having some issues.

I am not certain on how the command works. Do a google search on "session.use_only_cookies" and you should find what you need there.
__________________
Wanna thank someone? Give 'em a rep. More info.
kenni is offline  
Old 08-15-2006, 12:13 PM   #5
rohan2kool
Member
 
rohan2kool's Avatar
 
Join Date: Dec 2005
Posts: 132
rohan2kool will become famous soon enough
Default Re: PHPSESSION: having some issues.

i've always hated php sessions.. coz i've never understood them.. i sort of use a psuedo session management thingy... with a database backend along with php.
__________________
Eat healthy, Stay Fit, Die Anyway.
--==--
If there is a man who knows everything about women, there is a Windows distribution without bugs.
rohan2kool is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Closed Thread

(Threads which have no activity for more than 30 days are automatically closed.)



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Issues BidMyBook General Talk 1 10-18-2006 08:07 AM
Shopping Cart issues jumpenjuhosaphat Help and Support 2 07-02-2006 09:37 PM
Avoiding Trademark issues AidenJ Domain Name 5 02-25-2006 08:58 AM
Internal PR Issues--Dynamic code? ConsumerChoiceReview Search Engine Optimization (SEO) 0 01-27-2006 06:27 AM
Chitika Audit and Payment Issues AidenJ Search Engine Optimization (SEO) 0 01-02-2006 04:10 AM


All times are GMT. The time now is 08:46 AM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.