|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 |
| Member Join Date: Jan 2006 Location: Massachusetts
Posts: 136
![]() | 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 |
| |
|
| |||||||
| | #2 |
| Registered Member Join Date: Dec 2005
Posts: 1,543
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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: 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. |
| |
| | #3 |
| Member Join Date: Jan 2006 Location: Massachusetts
Posts: 136
![]() | 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 |
| |
| | #4 |
| Registered Member Join Date: Dec 2005
Posts: 1,543
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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. |
| |
| | #5 |
| Member Join Date: Dec 2005
Posts: 132
![]() | 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. |
| |
(Threads which have no activity for more than 30 days are automatically closed.) |
| Quick Reply | ||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |