sessions mod_rewrite

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

sessions mod_rewrite

Post by user___ »

Hi guys,
I have a site which uses mod_rewrite and I need to pass sessions through the URL. I do not use cookies. Is there any way to accomplish that?
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Just pass the session id through the URL. You can do it by having a URL writer in the code that parses all URL's or you can just let PHP do what it does when the cookie cannot be set.
Post Reply