Remember theme on session timeouts

M

M O J O

(using asp.net 2.0)

Hi,

I have 5-6 large customers each using the same pages, but with their own
themes.

To enter my site, they all have their own urls like ...

http://mysite.com?site=customer1
http://mysite.com?site=customer2
http://mysite.com?site=customer3
and so on.

When they start a session, I test for the site querystring and sets the
theme accordingly. I store their theme in a session variable.

My problem is, when their session times out, I can't tell what theme
they should see.

I can't use cookies to store their theme, because of security/privacy
reasons. Therefore I can't use profiles.

My idea was to add a "site=customerX" to all my urls, but I need a
simple way to add this querystring to all my rendered urls.

Is there a more simple way?

Do you have a better suggestion how to solve this?

Thanks in advance!!!

Mojo
 
K

Kerem OZMAN

I think you may consider using Cache object or even using Application
object to store their theme information (provided that you have unique key
values for each user such as DOMAIN(MACHINE)\UserName or some hashed value
like that etc.).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top