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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.