Jump to content

Background image store in sesion.


regoch

Recommended Posts

something like language changing script? have different file for different language and change it via session?

Yes, approximately the same.

Logic is simple. When you are creating page, you tell the name of CSS file to use. If you keep in session a name of non-default file, just tell this name.

Will this session have conflict with my language session?

This question show that you don't understand session. I'll explain in short.

 

Session use the file for every user that have a session. These files are stored at the server. The storage duration could be changed. In such a file some variables are stored. When user is connected and he has a session (session ID is stored in the cookie at client side), then server look for his own file. If this file is found then server knows all session variables for this user.

 

It means that you have one session only but a lot of session variables that could be used for different purposes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.