Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7622981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:35:28+00:00 2026-05-31T04:35:28+00:00

$(#profile_bar).mouseover(function(){ <?php $_SESSION[‘sessionasdf’] = ‘asdf’; ?> }); Hello! I have been busy with this

  • 0
$("#profile_bar").mouseover(function(){

    <?php $_SESSION['sessionasdf'] = 'asdf'; ?>

});

Hello! I have been busy with this for an hour, but I’m deadbrain now. Can someone help me out or give me a hint? Is the function I wrote above, even possible?

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:35:29+00:00Added an answer on May 31, 2026 at 4:35 am

    You need an Ajax Request to do this. You can’t simply start a session in a script that’s already been loaded.

    $("#profile_bar").mouseover(function() {
        $.ajax({
            url: "sessionStartPage.php",
            cache: false,
            success: function(data) {
                alert("session has begun. Refreshing page now");
                location.reload(); //reload the page to load session variables
            }
        });
    });​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

$(#profile_bar).mouseover(function() { $(#profile_bar)stop(true).animate({ marginTop : 0px }, 300); }); $(#profile_bar).mouseleave(function() { $(#profile_bar).stop(true).delay(2000).animate({ marginTop :
I have this Facebook application profile page: http://www.facebook.com/developers/editapp.php?app_id=122313254494566#!/apps/application.php?id=122313254494566 which is associated with my iframe-based
I have a website built upon PHP, and a navigation bar with items containing
All, I have an XML document that looks something like this: <root> <profile> <childA>
I've this piece of markup. This piece has been loaded through ajax and appended
hope you can help me with this: I'm working with j_security_check and have this
I am new to Mozilla extensions and i have been trying to build the
I am trying to profile an application and I have a lot of instances
What is the best way to create member profiles in PHP? For instance, some
I have a nav bar with a drop down that is working beautifully. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.