Session dropped...

Discuss practical ways rearrange URLs using mod_rewrite.

Session dropped...

Postby sergv » Mon Apr 18, 2005 6:41 pm

I finally got all the rewrites in and working (THANKS Caterham!) and now all of a sudden the session is being dropped. What I can do about that? As soon as I add a product to the shopping cart and go to a different page, the shopping cart gets emptied...If,however, I add a session variable to the URL, then it does not get dropped, but then again, I would not want a .html?id=Lowl44S on the end of every page..that is one of the reasons I did rewrites :)

Thanks in advance.
sergv
 
Posts: 10
Joined: Tue Mar 15, 2005 9:20 pm

Postby sergv » Tue Apr 26, 2005 8:08 pm

Noone can help with this? Perhaps just a note if someone has experienced the same....
sergv
 
Posts: 10
Joined: Tue Mar 15, 2005 9:20 pm

Postby Caterham » Thu Apr 28, 2005 5:02 am

You'll have to force a session via cookies. If you use the PHPSESSID, cookies should being set automatically.

So make sure, if your shopping script does/can set session cookies
Caterham
 
Posts: 690
Joined: Fri Dec 10, 2004 1:30 pm


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 31 guests

cron