Support » Plugins » Some kind of session management?

  • I’m writing on a wp-photoblog plugin which allows to additionally post images and uses the post_type field to mark this posts as photoblog entries.

    To my question: I’d like to programm a filter which only shows a certain kind of post_type posts in the wordpress loop once activated (Buttons on page: Only show images, Only show worpress posts, show both). I think i need some kind of session management to achieve this?

    Anyone an idea what wordpress mechanism i could use? The filter should stay activated no matter what the user does – Until he selects another option and i want to use as much wordpress code as possible.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t know a plugin.

    Do you know php?

    There are tqo ways: cookies and php-sessions.

    > Do you know php?
    > There are tqo ways: cookies and php-sessions.

    Surely i know how to start and maintain a session – But wordpress doesn’t use it – So i don’t want to use it.

    I thought of something like custom url’s like http://www.mydomain.com/images/page/x. This is a mechanism both search engine and bookmarkfriendly.

    I’ll read some code to see how others have done this.

    greets,

    Johannes

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Some kind of session management?’ is closed to new replies.