Perad Posted June 5, 2007 Share Posted June 5, 2007 My new site has 2 columns. The larger left side contains the blog. This transfers page's using $_GET and URL's. My right column will contain profiles, registering, login-ins etc. I want this to use sessions to work out what page to display. This way things can come and go on the right column without disrupting the blog side of things. The problem I am having is actually setting the session variable which this will run off. For example if I want to view someone's profile, it would typically be done in a link i.e. blog?viewprofile=John. This would disrupt the blog as you would go back to the index page. I have thought about using hidden form fields but this seem's like a lot of hard work for what i would like to achieve. Before I go off making my site a complex form is there any other way to set sessions without using the URL to trigger events? Quote Link to comment https://forums.phpfreaks.com/topic/54263-setting-session-variable-in-a-hyperlink/ Share on other sites More sharing options...
kenrbnsn Posted June 5, 2007 Share Posted June 5, 2007 Do you have any code you can post to illustrate your problem? Ken Quote Link to comment https://forums.phpfreaks.com/topic/54263-setting-session-variable-in-a-hyperlink/#findComment-268302 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.