Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Session Variable Problem
Old 09-24-2007, 05:01 AM Session Variable Problem
nickharper's Avatar
Extreme Talker

Latest Blog Post:
Testing this bad boy out!!!!!
Posts: 221
Name: Nick
Location: Coventry, UK
Trades: 1
Hi Guys,

I am just learning about session variables and I have created a login script to go into an administration area but for some reason it is putting the session id into links like this:

PHP Code:
viewweb.php?id=6&PHPSESSID=ea944ef4f16ed9f9d497ca52341387 
I have tried everything to try and get it working but is it a case of destroying the session somewhere?

Sorry for the dumb question.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

nickharper is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-24-2007, 06:37 AM Re: Session Variable Problem
nickharper's Avatar
Extreme Talker

Latest Blog Post:
Testing this bad boy out!!!!!
Posts: 221
Name: Nick
Location: Coventry, UK
Trades: 1
This has been sorted.

It was something in the .htaccess file that seemed to fix it.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

nickharper is offline
Reply With Quote
View Public Profile
 
Old 09-24-2007, 12:04 PM Re: Session Variable Problem
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
Another case saved by Apache!

I'm always keen on hiding the session info, but sometimes there is nothing you can do
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 09-24-2007, 06:06 PM Re: Session Variable Problem
feraira's Avatar
BeTheBand!

Posts: 350
Trades: 0
Quote:
Originally Posted by nickharper View Post
This has been sorted.

It was something in the .htaccess file that seemed to fix it.
How did you do it? Enlighten us all, don't just say "Done it!" tell us how

Ta
feraira is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Session Variable Problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13782 seconds with 12 queries