Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions

Dialog Form and Sessions


Reply

2 Posts   403 Views

Avatar
Drumstick

25 July 2013 at 6:23pm Community Member, 20 Posts

Hi

Maybe someone knows that.

I have a dialog form which pops up, when you browse to the website. There you have to choose a country, then you can access the website. In the background I save the country in a session variable and through that I can get som other data to display.

But now I have the problem that the sessions works just, when you have in the browser the url with index.php at the end..means

www.mydomain.ch/index.php -> this works
www.mydomain.ch -> this works not, it always shows the dialog poped up and nothing happens

when do the sessions start? Or what do I wrong?

If someone can give me an answer or a tipp that would be great. Thanks very much.

Avatar
Drumstick

27 July 2013 at 5:47pm (Last edited: 27 July 2013 5:59pm), Community Member, 20 Posts

so, I have the solution:

the Sessions starts when I start the session in the config.php File

Session::start(); -> with that it starts

then the dialog popup works here too
www.mydomain.ch