[ nezki @ 15.12.2010. 18:42 ] @
Imam sajt www.mojdomen.com i kada odem na sajt i ulogujem se, ja tom prilikom pakujem podatke o ulogovanom korisniku u jednu sesiju, medjutim nakon toga kada ukucam u browseru samo http://mojdomen.com sesija se izgubi. Imam jedan .htaccess koji mi sluzi za rutiranje, pa ne znam da li je mozda zbog toga, evo kako on izgleda Code: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / #Removes access to the library folder by users. #Additionally this will allow you to create a LibraryController.php controller, #previously this would not have been possible. #'library' can be replaced if you have renamed your library folder. RewriteCond %{REQUEST_URI} ^library.* RewriteRule ^(.*)$ index.php?route=$1 [L,QSA] #Checks to see if the user is attempting to access a valid file, #such as an image or css document, if this isn't true it sends the #request to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?route=$1 [L,QSA] </IfModule> <IfModule !mod_rewrite.c> # If we don't have mod_rewrite installed, all 404's # can be sent to index.php, and everything works as normal. # Submitted by: ElliotHaughin ErrorDocument 404 /index.php </IfModule> Da li je neko imao slicnih problema. |