mod_rewrite .htaccess + php session

9 views
Skip to first unread message

Kostyantyn Yusenko

unread,
Jan 25, 2009, 1:37:23 PM1/25/09
to PHP Hacks
Is it possible (using mod_rewrite) redirect pages like:

index.php?var1=123

to

index.php?var1=123&lang=XXX where XXX is a value of
$_SESSION
['lang']

In fact the question is: is it possible to use session variables in
mod_rewrite.

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages